From 96d4e7b14cb412266128115c45af37cc0cbb9706 Mon Sep 17 00:00:00 2001 From: "Brady J. Garvin" <bgarvin@cse.unl.edu> Date: Wed, 17 Aug 2022 11:16:08 -0500 Subject: [PATCH] Repaired oracles for the exercise on switch statements. --- .../src/cSwitchStatements/switchStatements.test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/javascript-practice/src/cSwitchStatements/switchStatements.test.js b/javascript-practice/src/cSwitchStatements/switchStatements.test.js index 40a3f57..7f867a4 100644 --- a/javascript-practice/src/cSwitchStatements/switchStatements.test.js +++ b/javascript-practice/src/cSwitchStatements/switchStatements.test.js @@ -2,21 +2,21 @@ import { decodeCountingNumber } from './switchStatements.js'; describe('the `decodeCountingNumber` function', () => { test('correctly interprets the word "zero"', () => { - expect(decodeCountingNumber('zero')).toBe('The word "zero" is associated with the meaning `0`.'); + expect(decodeCountingNumber('zero')).toBe('The word "zero" is associated with the meaning 0.'); }); test('correctly interprets the word "one"', () => { - expect(decodeCountingNumber('one')).toBe('The word "one" is associated with the meaning `1`.'); + expect(decodeCountingNumber('one')).toBe('The word "one" is associated with the meaning 1.'); }); test('correctly interprets the word "two"', () => { - expect(decodeCountingNumber('two')).toBe('The word "two" is associated with the meaning `2`.'); + expect(decodeCountingNumber('two')).toBe('The word "two" is associated with the meaning 2.'); }); test('correctly interprets the word "three"', () => { - expect(decodeCountingNumber('three')).toBe('The word "three" is associated with the meaning `3`.'); + expect(decodeCountingNumber('three')).toBe('The word "three" is associated with the meaning 3.'); }); test('correctly interprets the word "four"', () => { - expect(decodeCountingNumber('four')).toBe('The word "four" is associated with the meaning `4`.'); + expect(decodeCountingNumber('four')).toBe('The word "four" is associated with the meaning 4.'); }); test('correctly interprets the word "five"', () => { - expect(decodeCountingNumber('five')).toBe('The word "five" is associated with the meaning `undefined`.'); + expect(decodeCountingNumber('five')).toBe('The word "five" is associated with the meaning undefined.'); }); }); -- GitLab