summaryrefslogtreecommitdiff
path: root/test/ruby/test_syntax.rb
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2019-11-11 17:37:21 +0900
committerNARUSE, Yui <naruse@airemix.jp>2019-11-11 17:37:21 +0900
commitfd69f82675bf93a848e5aa58d117bf8bbf604188 (patch)
tree715969bdeda865555857a5d2336bfce42a5e9898 /test/ruby/test_syntax.rb
parentba5b51ca5968314f5ca92fee0afaea44a78eb0b1 (diff)
Revert "Warn EOF char in comment"
This reverts commit 69ec3f70fab0c1c537c68fb135cc315181b1d750.
Diffstat (limited to 'test/ruby/test_syntax.rb')
-rw-r--r--test/ruby/test_syntax.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index d0748e7028..5fb4dfa64f 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -943,12 +943,6 @@ eom
end
end
- def test_warning_for_eof_in_comment
- assert_warning(/encountered \\0/) {eval("#\0")}
- assert_warning(/encountered \^D/) {eval("#\C-d")}
- assert_warning(/encountered \^Z/) {eval("#\C-z")}
- end
-
def test_unexpected_fraction
msg = /unexpected fraction/
assert_syntax_error("0x0.0", msg)