Skip to content

Commit

Permalink
wrong output file name in test
Browse files Browse the repository at this point in the history
  • Loading branch information
gnumonik committed Mar 23, 2024
1 parent 71add6a commit 3b24eef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ bower_components/
node_modules
tmp/
.stack-work/
output
# output
tests/purs/docs/docs/
core-tests/full-core-docs.md
tests/support/package-lock.json
Expand Down
2 changes: 1 addition & 1 deletion tests/TestPurus.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ shouldPassTests = do
uplc1 <- runPIR misc "main"
writeFile "./tests/purus/passing/Misc/output/Lib/main.plc" (show uplc1)
uplc2 <- runPIR misc "minus"
writeFile "./tests/purus/passing/Misc/output/Lib/main.plc" (show uplc2)
writeFile "./tests/purus/passing/Misc/output/Lib/fakeminus.plc" (show uplc2)

runPurus :: P.CodegenTarget -> FilePath -> IO ()
runPurus target dir = do
Expand Down
1 change: 1 addition & 0 deletions tests/purus/passing/Misc/output/Lib/fakeminus.plc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Program {_progAnn = Original (), _progVer = Version {_versionMajor = 1, _versionMinor = 1, _versionPatch = 0}, _progTerm = LamAbs (Original ()) (Name {_nameText = "v", _nameUnique = Unique {unUnique = 86}}) (TyBuiltin (Original ()) (SomeTypeIn DefaultUniInteger)) (LamAbs (Original ()) (Name {_nameText = "v1", _nameUnique = Unique {unUnique = 87}}) (TyBuiltin (Original ()) (SomeTypeIn DefaultUniInteger)) (Constant (Original ()) (Some (ValueOf DefaultUniInteger 42))))}
2 changes: 1 addition & 1 deletion tests/purus/passing/Misc/output/Lib/main.plc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Program {_progAnn = Original (), _progVer = Version {_versionMajor = 1, _versionMinor = 1, _versionPatch = 0}, _progTerm = LamAbs (Original ()) (Name {_nameText = "v", _nameUnique = Unique {unUnique = 86}}) (TyBuiltin (Original ()) (SomeTypeIn DefaultUniInteger)) (LamAbs (Original ()) (Name {_nameText = "v1", _nameUnique = Unique {unUnique = 87}}) (TyBuiltin (Original ()) (SomeTypeIn DefaultUniInteger)) (Constant (Original ()) (Some (ValueOf DefaultUniInteger 42))))}
Program {_progAnn = Original (), _progVer = Version {_versionMajor = 1, _versionMinor = 1, _versionPatch = 0}, _progTerm = Constant (Original ()) (Some (ValueOf DefaultUniInteger 2))}

0 comments on commit 3b24eef

Please sign in to comment.