@@ -95,6 +95,7 @@ class DebuggerTest < Minitest::Spec
9595 assert_equal debugger_nodes [ 0 ] . data , { }
9696 assert_equal debugger_nodes [ 0 ] . snapshot_before , stack . to_a [ 0 ]
9797 assert_equal debugger_nodes [ 0 ] . snapshot_after , stack . to_a [ -1 ]
98+ assert_equal debugger_nodes [ 0 ] . snapshot_after . to_h [ :data ] [ :signal ] . inspect , "#<Trailblazer::Activity::End semantic=:success>"
9899 assert_equal debugger_nodes [ 0 ] . id , debugger_nodes [ 0 ] . trace_node . object_id
99100
100101 assert_equal debugger_nodes [ 1 ] . activity . class , Trailblazer ::Activity # The [activity] field is an Activity.
@@ -106,6 +107,7 @@ class DebuggerTest < Minitest::Spec
106107 assert_equal debugger_nodes [ 1 ] . data , { }
107108 assert_equal debugger_nodes [ 1 ] . snapshot_before , stack . to_a [ 1 ]
108109 assert_equal debugger_nodes [ 1 ] . snapshot_after , stack . to_a [ 2 ]
110+ assert_equal debugger_nodes [ 1 ] . snapshot_after . to_h [ :data ] [ :signal ] . inspect , "Trailblazer::Activity::Right"
109111 assert_equal debugger_nodes [ 1 ] . id , debugger_nodes [ 1 ] . trace_node . object_id
110112
111113 assert_equal debugger_nodes [ 3 ] . task , sub_activity
@@ -124,6 +126,7 @@ class DebuggerTest < Minitest::Spec
124126 assert_equal debugger_nodes [ 9 ] . snapshot_after , stack . to_a [ 16 ]
125127 assert_equal debugger_nodes [ 9 ] . snapshot_before . data [ :ctx_variable_changeset ] . collect { |name , _ | name } , [ :seq ] #{:seq=>"[:a, :b, :c]"}
126128 assert_equal debugger_nodes [ 9 ] . snapshot_after . data [ :ctx_variable_changeset ] . collect { |name , _ | name } , [ :seq ] #, {:seq=>"[:a, :b, :c, :d]"}
129+ assert_equal debugger_nodes [ 9 ] . snapshot_after . to_h [ :data ] [ :signal ] . inspect , "Trailblazer::Activity::Right"
127130 assert_equal debugger_nodes [ 9 ] . id , debugger_nodes [ 9 ] . trace_node . object_id
128131 end
129132end
0 commit comments