Skip to content

Commit

Permalink
fix: ignore key StaleReason, Target
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Jul 13, 2024
1 parent 102b166 commit 1680b33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/golist_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ describe("go list output", function()
first_entry.Module.GoVersion = nil
expected.Deps = nil
first_entry.Deps = nil
expected.StaleReason = nil
first_entry.StaleReason = nil
expected.Target = nil
first_entry.Target = nil

assert.are_same(vim.inspect(expected), vim.inspect(first_entry))
assert.are_same(expected, first_entry)
Expand Down

0 comments on commit 1680b33

Please sign in to comment.