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:
a46642e
)
Fixed missed test case.
author
Jeffrey Murray
<a.separate.first@gmail.com>
Sat, 12 Mar 2011 01:50:39 +0000
(17:50 -0800)
committer
Jeffrey Murray
<a.separate.first@gmail.com>
Sat, 12 Mar 2011 01:50:39 +0000
(17:50 -0800)
koans/about_strings.rb
patch
|
blob
|
history
diff --git
a/koans/about_strings.rb
b/koans/about_strings.rb
index
48dfa2d
..
771ff8b
100644
(file)
--- a/
koans/about_strings.rb
+++ b/
koans/about_strings.rb
@@
-168,7
+168,7
@@
in_ruby_version("1.8") do
def test_in_ruby_1_9_you_can_get_a_single_character_from_a_string
string = "Bacon, lettuce and tomato"
- assert_equal "
a
", string[1]
+ assert_equal "
__
", string[1]
# Surprised?
end