mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Fixed typo
This commit is contained in:
@@ -47,7 +47,7 @@ class AboutSymbols < EdgeCase::Koan
|
|||||||
assert_equal __, string.to_sym
|
assert_equal __, string.to_sym
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_symbols_with_spaces_can_by_built
|
def test_symbols_with_spaces_can_be_built
|
||||||
symbol = :"cats and dogs"
|
symbol = :"cats and dogs"
|
||||||
|
|
||||||
assert_equal symbol, __.to_sym
|
assert_equal symbol, __.to_sym
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ class AboutSymbols < EdgeCase::Koan
|
|||||||
assert_equal __(:catsAndDogs), string.to_sym
|
assert_equal __(:catsAndDogs), string.to_sym
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_symbols_with_spaces_can_by_built
|
def test_symbols_with_spaces_can_be_built
|
||||||
symbol = :"cats and dogs"
|
symbol = :"cats and dogs"
|
||||||
|
|
||||||
assert_equal symbol, __("cats and dogs").to_sym
|
assert_equal symbol, __("cats and dogs").to_sym
|
||||||
|
|||||||
Reference in New Issue
Block a user