v0.1.1 decode hardening, round trip support, doc and test update
Test / test (push) Canceled after 0s
Test / test (push) Canceled after 0s
This commit is contained in:
15 files changed
+874
-651
No files matched your search
+2
-2
@@ -308,7 +308,7 @@ transitions = [
|
||||
t.Error("GuardArgs is nil")
|
||||
} else if ms, ok := grw.Transitions[0].GuardArgs["ms"]; !ok {
|
||||
t.Error("GuardArgs missing 'ms' key")
|
||||
} else if msInt, ok := ms.(int); !ok || msInt != 2000 {
|
||||
} else if msInt, ok := ms.(int64); !ok || msInt != 2000 {
|
||||
t.Errorf("GuardArgs.ms mismatch: %T %v", ms, ms)
|
||||
}
|
||||
}
|
||||
@@ -841,4 +841,4 @@ binary_val = 0b1010
|
||||
if cfg.Edge.Cases.BinaryVal != 0b1010 {
|
||||
t.Errorf("BinaryVal = %d, want %d", cfg.Edge.Cases.BinaryVal, 0b1010)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user