(t *testing.T)
| 553 | } |
| 554 | |
| 555 | func TestIsPushOnlyOnInvalidScripts(t *testing.T) { |
| 556 | s := script.NewEmptyScript() |
| 557 | s.PushOpCode(1) |
| 558 | if s.IsPushOnly() { |
| 559 | t.Errorf("IsPushOnly should return false on invalid scripts") |
| 560 | } |
| 561 | } |
nothing calls this directly
no test coverage detected