git://git.eng.unimelb.edu.au
/
ruby_koans.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dfb272e
)
Edited src/about_nil.rb via GitHub
author
Daemian Mack
<daemianmack@gmail.com>
Mon, 29 Aug 2011 20:34:35 +0000
(17:34 -0300)
committer
Daemian Mack
<daemianmack@gmail.com>
Mon, 29 Aug 2011 20:34:35 +0000
(17:34 -0300)
src/about_nil.rb
patch
|
blob
|
history
diff --git
a/src/about_nil.rb
b/src/about_nil.rb
index
1e670a0
..
9df4f9b
100644
(file)
--- a/
src/about_nil.rb
+++ b/
src/about_nil.rb
@@
-8,7
+8,7
@@
class AboutNil < EdgeCase::Koan
def test_you_dont_get_null_pointer_errors_when_calling_methods_on_nil
# What happens when you call a method that doesn't exist. The
# following begin/rescue/end code block captures the exception and
def test_you_dont_get_null_pointer_errors_when_calling_methods_on_nil
# What happens when you call a method that doesn't exist. The
# following begin/rescue/end code block captures the exception and
- # make some assertions about it.
+ # make
s
some assertions about it.
begin
nil.some_method_nil_doesnt_know_about
rescue Exception => ex
begin
nil.some_method_nil_doesnt_know_about
rescue Exception => ex