diff --git a/ql/test/library-tests/controlflow/graph/Cfg.expected b/ql/test/library-tests/controlflow/graph/Cfg.expected index b691caa8394..7140bb4c6be 100644 --- a/ql/test/library-tests/controlflow/graph/Cfg.expected +++ b/ql/test/library-tests/controlflow/graph/Cfg.expected @@ -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 diff --git a/ql/test/library-tests/controlflow/graph/cfg.rb b/ql/test/library-tests/controlflow/graph/cfg.rb index 65f6a927b10..aa43ec6c9ae 100644 --- a/ql/test/library-tests/controlflow/graph/cfg.rb +++ b/ql/test/library-tests/controlflow/graph/cfg.rb @@ -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"