Skip to content

Commit

Permalink
tests: updated tests for plugins module
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 8013c2d73346fbf3373419b079862136469f1b9c6f4e26e2ba32230d38a370a4
  • Loading branch information
thindil committed Jun 16, 2024
1 parent 5d8756d commit 9cf4f1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/plugins.nim
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ suite "Unit tests for plugins module":
commands = commands) == QuitFailure

test "Initializing an object of Plugin type":
let newPlugin: Plugin = newPlugin(path = "/".Path)
let newPlugin: Plugin = initPlugin(path = "/".Path)
check:
newPlugin.location == "/".Path

test "Initializing an object of PluginData type":
let newPluginData: PluginData = newPluginData(path = "/".Path, api = @[])
let newPluginData: PluginData = initPluginData(path = "/".Path, api = @[])
check:
newPluginData.path == "/".Path

Expand Down

0 comments on commit 9cf4f1e

Please sign in to comment.