Uncomment empty class and module in CFG test

This commit is contained in:
Nick Rolfe
2021-03-18 19:02:32 +00:00
parent 9493997e9d
commit 6bcc433af3
2 changed files with 9 additions and 3 deletions

View File

@@ -1337,7 +1337,7 @@ cfg.rb:
#-----| -> #{...}
# 130| ... = ...
#-----| -> ... rescue ...
#-----| -> EmptyClass
# 130| Constant
#-----| -> ... = ...
@@ -1345,6 +1345,12 @@ cfg.rb:
# 130| 5
#-----| -> Constant
# 133| EmptyClass
#-----| -> EmptyModule
# 134| EmptyModule
#-----| -> ... rescue ...
# 136| ... rescue ...
#-----| -> 1

View File

@@ -130,8 +130,8 @@ module M
Constant = 5
end
#class EmptyClass; end
#module EmptyModule; end
class EmptyClass; end
module EmptyModule; end
1/0 rescue puts "div by zero"