Skip to content

Commit 2fac505

Browse files
committed
Ruby: Update expected test output
1 parent e7ed056 commit 2fac505

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

ruby/ql/test/library-tests/controlflow/graph/Cfg.expected

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ case.rb:
811811
#-----| -> [ ..., * ]
812812

813813
# 35| [ ..., * ]
814-
#-----| match -> x
814+
#-----| false, match, true -> x
815815
#-----| no-match -> in ... then ...
816816

817817
# 35| x
@@ -821,7 +821,7 @@ case.rb:
821821
#-----| -> [ ..., * ]
822822

823823
# 36| [ ..., * ]
824-
#-----| match -> x
824+
#-----| false, match, true -> x
825825
#-----| no-match -> in ... then ...
826826

827827
# 36| x
@@ -836,7 +836,7 @@ case.rb:
836836

837837
# 37| [ ..., * ]
838838
#-----| raise -> exit case_match_array (abnormal)
839-
#-----| match -> a
839+
#-----| false, match, true -> a
840840

841841
# 37| a
842842
#-----| match -> b
@@ -881,7 +881,7 @@ case.rb:
881881

882882
# 43| [ *,...,* ]
883883
#-----| raise -> exit case_match_find (abnormal)
884-
#-----| match -> x
884+
#-----| false, match, true -> x
885885

886886
# 43| x
887887
#-----| -> 1
@@ -931,7 +931,7 @@ case.rb:
931931
#-----| no-match -> in ... then ...
932932

933933
# 49| { ..., ** }
934-
#-----| match -> 1
934+
#-----| false, match, true -> 1
935935
#-----| no-match -> in ... then ...
936936

937937
# 49| 1
@@ -952,7 +952,7 @@ case.rb:
952952
#-----| no-match -> in ... then ...
953953

954954
# 50| { ..., ** }
955-
#-----| match -> 1
955+
#-----| false, match, true -> 1
956956
#-----| no-match -> in ... then ...
957957

958958
# 50| 1
@@ -968,7 +968,7 @@ case.rb:
968968

969969
# 51| { ..., ** }
970970
#-----| raise -> exit case_match_hash (abnormal)
971-
#-----| match -> case ...
971+
#-----| false, match, true -> case ...
972972

973973
# 55| case_match_variable
974974
#-----| -> case_match_underscore
@@ -1372,7 +1372,7 @@ case.rb:
13721372

13731373
# 91| { ..., ** }
13741374
#-----| raise -> exit case_match_various (abnormal)
1375-
#-----| match -> case ...
1375+
#-----| false, match, true -> case ...
13761376

13771377
# 95| case_match_guard_no_else
13781378
#-----| -> exit case.rb (normal)
@@ -2559,7 +2559,7 @@ cfg.rb:
25592559
#-----| -> type
25602560

25612561
# 101| value
2562-
#-----| no-match -> 42
2562+
#-----| false, no-match, true -> 42
25632563
#-----| match -> key
25642564

25652565
# 101| 42
@@ -6535,7 +6535,7 @@ raise.rb:
65356535
#-----| -> m11
65366536

65376537
# 121| p
6538-
#-----| no-match -> self
6538+
#-----| false, no-match, true -> self
65396539
#-----| match -> self
65406540

65416541
# 121| call to raise

0 commit comments

Comments
 (0)