aboutsummaryrefslogtreecommitdiffstats
path: root/tests/state_test.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-09-21 17:34:02 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-09-21 17:34:02 +0800
commit5621308949cc5573297bd70826421db00c1fd4ba (patch)
tree33e16f37699549d4e75397f6474dc2f0275a79a6 /tests/state_test.go
parente40b447fead5ec3c4ccb133418431ea25be3c545 (diff)
downloaddexon-5621308949cc5573297bd70826421db00c1fd4ba.tar.gz
dexon-5621308949cc5573297bd70826421db00c1fd4ba.tar.zst
dexon-5621308949cc5573297bd70826421db00c1fd4ba.zip
tests: add test for StateTests/stCallCodes.json
Diffstat (limited to 'tests/state_test.go')
-rw-r--r--tests/state_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/state_test.go b/tests/state_test.go
index 7090b0541..245f60597 100644
--- a/tests/state_test.go
+++ b/tests/state_test.go
@@ -115,6 +115,13 @@ func TestCallCreateCallCode(t *testing.T) {
}
}
+func TestCallCodes(t *testing.T) {
+ fn := filepath.Join(stateTestDir, "stCallCodes.json")
+ if err := RunStateTest(fn, StateSkipTests); err != nil {
+ t.Error(err)
+ }
+}
+
func TestMemory(t *testing.T) {
fn := filepath.Join(stateTestDir, "stMemoryTest.json")
if err := RunStateTest(fn, StateSkipTests); err != nil {