@@ -21,7 +21,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
21211 . Each row should start with a number of spaces sufficient to put the center character of each row in the same column.
22221 . The pyramid should start and end with a newline character.
2323
24- For example, calling ` pyramid('o' , 4, false) ` should give this output:
24+ For example, calling ` pyramid("o" , 4, false) ` should give this output:
2525
2626``` js
2727
@@ -46,16 +46,16 @@ Your `pyramid` function should have three parameters.
4646assert .lengthOf (pyramid, 3 );
4747```
4848
49- ` pyramid('o' , 4, false) ` should return ` "\n o\n ooo\n ooooo\nooooooo\n" ` .
49+ ` pyramid("o" , 4, false) ` should return ` "\n o\n ooo\n ooooo\nooooooo\n" ` .
5050
5151``` js
52- assert .equal (pyramid (' o ' , 4 , false ), " \n o\n ooo\n ooooo\n ooooooo\n " )
52+ assert .equal (pyramid (" o " , 4 , false ), " \n o\n ooo\n ooooo\n ooooooo\n " )
5353```
5454
55- ` pyramid('p' , 5, true) ` should return ` "\nppppppppp\p ppppppp\n ppppp\n ppp\n p\n" ` .
55+ ` pyramid("p" , 5, true) ` should return ` "\nppppppppp\p ppppppp\n ppppp\n ppp\n p\n" ` .
5656
5757``` js
58- assert .equal (pyramid (' p ' , 5 , true ), " \n ppppppppp\n ppppppp\n ppppp\n ppp\n p\n " )
58+ assert .equal (pyramid (" p " , 5 , true ), " \n ppppppppp\n ppppppp\n ppppp\n ppp\n p\n " )
5959```
6060
6161# --seed--
0 commit comments