Skip to content

Commit 7d898f5

Browse files
committed
Whitespace fix
1 parent d3988d0 commit 7d898f5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

spec/util_spec.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,33 @@ local util = require "pallene.util"
88

99
describe("Pallene utils", function()
1010

11-
it("returns error when a file doesn't exist", function()
11+
it("returns error when a file doesn't exist", function()
1212
local filename = "does_not_exist.pln"
1313
local ok, err = util.get_file_contents(filename)
1414
assert.falsy(ok)
1515
assert.matches(filename, err)
16-
end)
16+
end)
1717

18-
it("writes a file to disk", function()
18+
it("writes a file to disk", function()
1919
local filename = "a_file.pln"
2020
local ok = util.set_file_contents(filename, "return {}")
2121
assert.truthy(ok)
2222
os.remove(filename)
23-
end)
23+
end)
2424

25-
it("can extract stdout from commands", function()
25+
it("can extract stdout from commands", function()
2626
local cmd = [[lua -e 'io.stdout:write("hello")']]
2727
local ok, err, stdout, stderr = util.outputs_of_execute(cmd)
2828
assert(ok, err)
2929
assert.equals("hello", stdout)
3030
assert.equals("", stderr)
31-
end)
31+
end)
3232

33-
it("can extract stderr from commands", function()
33+
it("can extract stderr from commands", function()
3434
local cmd = [[lua -e 'io.stderr:write("hello")']]
3535
local ok, err, stdout, stderr = util.outputs_of_execute(cmd)
3636
assert(ok, err)
3737
assert.equals("", stdout)
3838
assert.equals("hello", stderr)
39-
end)
39+
end)
4040
end)

0 commit comments

Comments
 (0)