Skip to content

Commit

Permalink
chore: fix formatting using stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasYOY committed Jun 22, 2024
1 parent 96f6e43 commit f12ac19
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions lua/obs/vault_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ describe("new note", function()
local file = state.vault:create_note(nil)

assert(file)
assert.file(file, common_name, vim.fn.resolve(common_filepath():expand()))
assert.file(
file,
common_name,
vim.fn.resolve(common_filepath():expand())
)
end)

it("for '' name", function()
Expand All @@ -84,7 +88,11 @@ describe("new note", function()
local file = state.vault:create_note ""

assert(file)
assert.file(file, common_name, vim.fn.resolve(common_filepath():expand()))
assert.file(
file,
common_name,
vim.fn.resolve(common_filepath():expand())
)
end)
end)

Expand Down Expand Up @@ -233,7 +241,11 @@ describe("rename", function()
local renamed = state.vault:rename("test", "new test")

assert(renamed, "file should be found")
assert.file(renamed, "new test", vim.fn.resolve((state.home / "new test.md"):expand()))
assert.file(
renamed,
"new test",
vim.fn.resolve((state.home / "new test.md"):expand())
)
end)

it("simple link renamed", function()
Expand Down

0 comments on commit f12ac19

Please sign in to comment.