diff --git a/tests/Visp.Compiler.UnitTests/ParsingTests.generated.fs b/tests/Visp.Compiler.UnitTests/ParsingTests.generated.fs index a072f6f..01fbfb7 100644 --- a/tests/Visp.Compiler.UnitTests/ParsingTests.generated.fs +++ b/tests/Visp.Compiler.UnitTests/ParsingTests.generated.fs @@ -1,4 +1,4 @@ -// Copyright 2023 Ville Penttinen +// Copyright 2023 Ville Penttinen // Distributed under the MIT License. // https://github.com/vipentti/visp-fs/blob/main/LICENSE.md diff --git a/tests/Visp.ExecutionTests/ExecutionTests.generated.fs b/tests/Visp.ExecutionTests/ExecutionTests.generated.fs index 312aa15..f56f7e8 100644 --- a/tests/Visp.ExecutionTests/ExecutionTests.generated.fs +++ b/tests/Visp.ExecutionTests/ExecutionTests.generated.fs @@ -1,4 +1,4 @@ -// Copyright 2023 Ville Penttinen +// Copyright 2023 Ville Penttinen // Distributed under the MIT License. // https://github.com/vipentti/visp-fs/blob/main/LICENSE.md diff --git a/visp/examples/aoc2023/day16.visp b/visp/examples/aoc2023/day16.visp index be6599d..2f9bbe2 100644 --- a/visp/examples/aoc2023/day16.visp +++ b/visp/examples/aoc2023/day16.visp @@ -1,4 +1,4 @@ - + ;; Copyright 2023 Ville Penttinen ;; Distributed under the MIT License. ;; https://github.com/vipentti/visp-fs/blob/main/LICENSE.md diff --git a/visp/examples/aoc2023/day17.visp b/visp/examples/aoc2023/day17.visp index 96d2948..f619e4c 100644 --- a/visp/examples/aoc2023/day17.visp +++ b/visp/examples/aoc2023/day17.visp @@ -1,4 +1,4 @@ - + ;; Copyright 2023 Ville Penttinen ;; Distributed under the MIT License. ;; https://github.com/vipentti/visp-fs/blob/main/LICENSE.md diff --git a/visp/examples/aoc2023/init.visp b/visp/examples/aoc2023/init.visp index 23586b1..c2fff11 100644 --- a/visp/examples/aoc2023/init.visp +++ b/visp/examples/aoc2023/init.visp @@ -94,12 +94,12 @@ (unless (.Exists File targetFile) (printfn "new %s" targetFile) - (.WriteAllText System.IO.File targetFile (GetFileTemplate dayName) (+UTF8 System.Text.Encoding)) + (.WriteAllText System.IO.File targetFile (GetFileTemplate dayName)) ) (unless (.Exists File exampleInputPath) (printfn "new %s" exampleInputPath) - (.WriteAllText System.IO.File exampleInputPath "" (+UTF8 System.Text.Encoding)) + (.WriteAllText System.IO.File exampleInputPath "") ) (unless (.Exists File mainInputPath) @@ -115,7 +115,7 @@ ) ) ) - (do! (.WriteAllTextAsync System.IO.File mainInputPath content (+UTF8 System.Text.Encoding)))) + (do! (.WriteAllTextAsync System.IO.File mainInputPath content))) (Async.AwaitTask) (Async.RunSynchronously) diff --git a/visp/examples/aoc2023/inputs/day16.txt b/visp/examples/aoc2023/inputs/day16.txt index 4dc9c52..acce8fc 100644 --- a/visp/examples/aoc2023/inputs/day16.txt +++ b/visp/examples/aoc2023/inputs/day16.txt @@ -1,4 +1,4 @@ -\....................\...|...................\/........|.....-......|....|................................/... +\....................\...|...................\/........|.....-......|....|................................/... ...../.../........|.........../......-........-...|.....|............\............./..../.\.\................. |................./..../...............................................-....................\......../........ .................\.........../...-.............................-.......-......|................../.|..\.|..... diff --git a/visp/examples/aoc2023/inputs/day17.txt b/visp/examples/aoc2023/inputs/day17.txt index 6525d70..44f5819 100644 --- a/visp/examples/aoc2023/inputs/day17.txt +++ b/visp/examples/aoc2023/inputs/day17.txt @@ -1,4 +1,4 @@ -122122122221111223212131233223113223121333442231421433142332434134225233545342212211333112344344134442142433223412123123222112313121212221212 +122122122221111223212131233223113223121333442231421433142332434134225233545342212211333112344344134442142433223412123123222112313121212221212 222211221221231312321313313211342343411142324132123121134452332445155511344312331454432211221131443421221311311132313213121113133212212121121 122122222123123112133333323222434211131132342432414314214452412531552132441122435121513351133144143322231342334223133211113332223112112212121 121121122123221323133133124121313314444133314314111435332133355334444335454224312242224554224323414441121443212123222111111321321211121211212 diff --git a/visp/examples/aoc2023/inputs/day17_example.txt b/visp/examples/aoc2023/inputs/day17_example.txt index 15431e9..f400d6e 100644 --- a/visp/examples/aoc2023/inputs/day17_example.txt +++ b/visp/examples/aoc2023/inputs/day17_example.txt @@ -1,4 +1,4 @@ -2413432311323 +2413432311323 3215453535623 3255245654254 3446585845452 diff --git a/visp/utils/test-generator.visp b/visp/utils/test-generator.visp index 1098909..86c048c 100644 --- a/visp/utils/test-generator.visp +++ b/visp/utils/test-generator.visp @@ -176,7 +176,7 @@ let ``%s %s`` () = TestUtils.runTest "%s" (printfn "target %s" parserTargetDir) ;; (let output (genParserTests vispRoot files)) - (.WriteAllText System.IO.File parserTargetFile output (+UTF8 System.Text.Encoding)) + (.WriteAllText System.IO.File parserTargetFile output) ) (fn WriteExecutionTests (projectRoot vispRoot files) @@ -197,10 +197,10 @@ let ``%s %s`` () = TestUtils.runTest "%s" (printfn "target %s" targetDir) ;; (let output (genParserTests vispRoot files)) - (.WriteAllText System.IO.File targetfile output (+UTF8 System.Text.Encoding)) + (.WriteAllText System.IO.File targetfile output) ;; (printfn "target %s" targetDir) ;; (let output (genExecutionTests vispRoot files)) - ;; (.WriteAllText System.IO.File targetfile output (+UTF8 System.Text.Encoding)) + ;; (.WriteAllText System.IO.File targetfile output) ) (fn run ()