Skip to content

Commit

Permalink
CI(bot): Generate docs and format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 1, 2024
1 parent 45a5812 commit 08afa48
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doc/nordic.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*nordic.nvim.txt* For NVIM v0.8.0 Last change: 2024 August 17
*nordic.nvim.txt* For NVIM v0.8.0 Last change: 2024 September 01

==============================================================================
Table of Contents *nordic.nvim-table-of-contents*
Expand Down
8 changes: 4 additions & 4 deletions lua/nordic/tests/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ function M.assert_eq(left, right, message)
local file_name = info.short_src
local line_number = info.currentline

print("Equal assertion failed at \"" .. file_name .. ":" .. line_number .. "\"")
print("Message: " .. message)
print("Left:\n" .. vim.inspect(left))
print("Right:\n" .. vim.inspect(right))
print('Equal assertion failed at "' .. file_name .. ':' .. line_number .. '"')
print('Message: ' .. message)
print('Left:\n' .. vim.inspect(left))
print('Right:\n' .. vim.inspect(right))
end
end

Expand Down
7 changes: 5 additions & 2 deletions lua/nordic/tests/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ assert_eq(U.merge({}, {}), {}, 'U.merge({}, {}) should return an empty table')
assert_eq(U.merge(nil, nil), {}, 'U.merge(nil, nil) should return an empty table')
assert_eq(U.merge(nil, { a = 1 }), { a = 1 }, 'U.merge(nil, {a = 1}) should return {a = 1}')
assert_eq(U.merge({ a = 1 }, nil), { a = 1 }, 'U.merge({a = 1}, nil) should return {a = 1}')
assert_eq(U.merge({ a = 1, b = 3 }, { b = 2, c = 4 }), { a = 1, b = 2, c = 4 },
'U.merge({a = 1, b = 3}, {b = 2, c = 4}) should return {a = 1, b = 2, c = 4}')
assert_eq(
U.merge({ a = 1, b = 3 }, { b = 2, c = 4 }),
{ a = 1, b = 2, c = 4 },
'U.merge({a = 1, b = 3}, {b = 2, c = 4}) should return {a = 1, b = 2, c = 4}'
)

-- Colors.

Expand Down

0 comments on commit 08afa48

Please sign in to comment.