Created
January 23, 2016 05:36
-
-
Save myronmarston/f38a7273ac000b544d28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A group of examples | |
[32m passes[0m | |
[33m is pending (PENDING: not yet passing)[0m | |
[31m fails (FAILED - 1)[0m | |
[31m fails with a diff (FAILED - 2)[0m | |
[31m fails with a multiline snippet in order to show off syntax highlighting (FAILED - 3)[0m | |
Pending: (Failures listed here are expected and do not affect your suite's status) | |
1) A group of examples is pending | |
[36m# not yet passing[0m | |
[33mFailure/Error: [0mexpect([1;34m1[0m).to eq([1;34m2[0m)[0m | |
[33m[0m | |
[33m expected: 2[0m | |
[33m got: 1[0m | |
[33m[0m | |
[33m (compared using ==)[0m | |
[36m# ./spec/example_spec.rb:8:in `block (2 levels) in <top (required)>'[0m | |
Failures: | |
1) A group of examples fails | |
[31mFailure/Error: [0mexpect([1;34m1[0m).to eq([1;34m2[0m)[0m | |
[31m[0m | |
[31m expected: 2[0m | |
[31m got: 1[0m | |
[31m[0m | |
[31m (compared using ==)[0m | |
[36m# ./spec/example_spec.rb:12:in `block (2 levels) in <top (required)>'[0m | |
2) A group of examples fails with a diff | |
[31mFailure/Error: [0mexpect([31m[1;31m"[0m[31mfoo[1;35m\n[0m[31mbar[1;31m"[0m[31m[0m).to eq([31m[1;31m"[0m[31mfoo[1;35m\n[0m[31mbas[1;31m"[0m[31m[0m)[0m | |
[31m[0m | |
[31m expected: "foo\nbas"[0m | |
[31m got: "foo\nbar"[0m | |
[31m[0m | |
[31m (compared using ==)[0m | |
[31m[0m | |
[31m Diff:[0m[0m | |
[31m [0m[34m@@ -1,3 +1,3 @@[0m | |
[31m [0m[0m foo[0m | |
[31m [0m[31m-bas[0m | |
[31m [0m[32m+bar[0m | |
[31m [0m[0m | |
[36m# ./spec/example_spec.rb:16:in `block (2 levels) in <top (required)>'[0m | |
3) A group of examples fails with a multiline snippet in order to show off syntax highlighting | |
[31mFailure/Error:[0m | |
[31m [0mexpect {[0m | |
[31m [0m[1;34;4mSomeModule[0m::[1;34;4mSomeClass[0m.some_method([33m:some[0m, [31m[1;31m"[0m[31margs[1;31m"[0m[31m[0m, [1;34m1[0m, [1;34m2[0m) [32mif[0m [1;36mtrue[0m[0m | |
[31m [0m}.to raise_error([1;34;4mArgumentError[0m)[0m | |
[31m[0m | |
[31m expected ArgumentError, got #<NameError: uninitialized constant SomeModule> with backtrace:[0m | |
[31m # ./spec/example_spec.rb:21:in `block (3 levels) in <top (required)>'[0m | |
[31m # ./spec/example_spec.rb:20:in `block (2 levels) in <top (required)>'[0m | |
[36m# ./spec/example_spec.rb:20:in `block (2 levels) in <top (required)>'[0m | |
Finished in 0.01379 seconds (files took 0.10819 seconds to load) | |
[31m5 examples, 3 failures, 1 pending[0m | |
Failed examples: | |
[31mrspec ./spec/example_spec.rb:11[0m [36m# A group of examples fails[0m | |
[31mrspec ./spec/example_spec.rb:15[0m [36m# A group of examples fails with a diff[0m | |
[31mrspec ./spec/example_spec.rb:19[0m [36m# A group of examples fails with a multiline snippet in order to show off syntax highlighting[0m | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment