Skip to content

Commit 58e89eb

Browse files
committed
Merge pull request #239 from Kosmas/master
update output
2 parents 58fb75e + 27760a8 commit 58e89eb

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

hello-world/GETTING_STARTED.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,18 @@ On OS X and Linux, the error will be something like:
4040

4141
# Running:
4242

43-
ESSS
43+
ESS
4444

4545
Finished in 0.001539s, 2599.0903 runs/s, 0.0000 assertions/s.
4646

4747
1) Error:
4848
HelloWorldTest#test_no_name:
4949
NameError: uninitialized constant HelloWorldTest::HelloWorld
50-
hello-world/hello_world_test.rb:5:in `test_no_name'
50+
hello-world/hello_world_test.rb:20:in `test_no_name'
51+
52+
3 runs, 0 assertions, 0 failures, 1 errors, 2 skips
53+
54+
You have skipped tests. Run with --verbose for details.
5155

5256
Within the first test, we are referencing a constant named `HelloWorld` when
5357
we say `HelloWorld.hello`. When Ruby sees a capitalized name like
@@ -70,10 +74,10 @@ To fix it, open up the hello_world.rb file and add the following code:
7074
Whether you are on Windows, Mac OS X or Linux, you will eventually be faced with
7175
errors and failures that look a lot like the Mac OS X / Linux error above.
7276

73-
The letters `ESSS` show that there are four tests altogether,
74-
that one of them has an error (`E`), and that three of them are skipped (`S`).
77+
The letters `ESS` show that there are three tests altogether,
78+
that one of them has an error (`E`), and that two of them are skipped (`SS`).
7579

76-
The goal is to have four passing tests, which will show as four dots: `....`.
80+
The goal is to have three passing tests, which will show as three dots: `...`.
7781

7882
The tests are run in randomized order, which will cause the letters to display
7983
in random order as well.
@@ -85,7 +89,7 @@ Run the test again.
8589
1) Error:
8690
HelloWorldTest#test_no_name:
8791
NoMethodError: undefined method `hello' for HelloWorld:Class
88-
hello_world_test.rb:5:in `test_no_name'
92+
hello_world_test.rb:20:in `test_no_name'
8993

9094
This time we have a `HelloWorld`, but we're trying tell it to `hello`, and
9195
`HelloWorld` doesn't understand that message.

0 commit comments

Comments
 (0)