From ae6a9025f085673e6b74e34c6ebaf7ac18896c34 Mon Sep 17 00:00:00 2001 From: Mama Naomi Date: Mon, 19 Feb 2024 21:09:44 -0800 Subject: [PATCH] fix: remove test case in execute-brain (#53802) --- .../rosetta-code-challenges/execute-brain.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/execute-brain.md b/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/execute-brain.md index 62a7d597284..ca2d2bb70f7 100644 --- a/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/execute-brain.md +++ b/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/execute-brain.md @@ -31,10 +31,10 @@ Any cell size is allowed, EOF (*E*nd-*O*-*F*ile) support is optional, as is whet # --hints-- -`brain(bye)` should return a string +`brain(hello)` should return a string ```js -assert(typeof brain(bye) === 'string'); +assert(typeof brain(hello) === 'string'); ``` `brain("++++++[>++++++++++<-]>+++++.")` should return "A" @@ -43,12 +43,6 @@ assert(typeof brain(bye) === 'string'); assert.equal(brain('++++++[>++++++++++<-]>+++++.'), 'A'); ``` -`brain(bye)` should return `Goodbye, World!\r\n` - -```js -assert.equal(brain(bye), 'Goodbye, World!\r\n'); -``` - `brain(hello)` should return `Hello World!\n` ```js @@ -130,7 +124,6 @@ let fib=`+ >-]>[<+>-]<<<-]`; let hello='++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.' -let bye='++++++++++[>+>+++>++++>+++++++>++++++++>+++++++++>++++++++++>+++++++++++>++++++++++++<<<<<<<<<-]>>>>+.>>>>+..<.<++++++++.>>>+.<<+.<<<<++++.<++.>>>+++++++.>>>.+++.<+++++++.--------.<<<<<+.<+++.---.'; ``` ## --seed-contents--