fix StyLua command (#190)

* style: fix StyLua glob pattern

* style: fix style with StyLua

run './utils/stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua'
This commit is contained in:
hituzi no sippo
2021-09-11 20:18:44 +09:00
committed by GitHub
parent 8fb4ee1075
commit a58712bf16
19 changed files with 56 additions and 71 deletions

View File

@@ -8,21 +8,20 @@ describe('misc', function()
it('merge', function()
local merged
merged = misc.merge({
a = {}
a = {},
}, {
a = {
b = 1
}
b = 1,
},
})
assert.are.equal(merged.a.b, 1)
merged = misc.merge({
a = false
a = false,
}, {
a = {
b = 1
}
b = 1,
},
})
assert.are.equal(merged.a, false)
end)
end)