Skip to content

Commit a7dba1a

Browse files
committed
Also concrete
1 parent 76ecaa8 commit a7dba1a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/CliTests.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ main = do
4949
stdout `shouldContain` "No discrepancies found"
5050
stdout `shouldContain` "PASS"
5151
exitCode `shouldBe` ExitSuccess
52+
53+
it "hevm concrete tutorial works" $ do
54+
let torun = splitOn " " "exec --code 0x647175696e6550383480393834f3 --gas 0xff"
55+
(exitCode, stdout, stderr) <- readProcessWithExitCode "cabal" (["run", "exe:hevm", "--" ] ++ torun) ""
56+
stdout `shouldContain` "Return: 0x64"
57+
exitCode `shouldBe` ExitSuccess

0 commit comments

Comments
 (0)