Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
brettkolodny committed Jul 16, 2023
1 parent 72a5b3f commit dc6dc76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/hug_test.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ pub fn main() {

pub fn two_whitespace_test() {
let assert Ok(source) = read_file(from: "./test/inputs/input.txt")
let assert Ok(output) = read_file(from: "./test/outputs/two_whitespace_test.txt")
let assert Ok(output) =
read_file(from: "./test/outputs/two_whitespace_test.txt")

source
|> hug.error(
Expand Down
2 changes: 1 addition & 1 deletion test/read_file.gleam
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@external(erlang, "read_file_ffi", "read_file")
@external(javascript, "./read_file_ffi.mjs", "readFile")
pub fn read_file(from path: String) -> Result(String, Nil)
pub fn read_file(from path: String) -> Result(String, Nil)

0 comments on commit dc6dc76

Please sign in to comment.