You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to import strformat in unit tests otherwise I get the following error:
unit.nim(3, 7) template/generic instantiation from here
unit.nim(4, 8) template/generic instantiation from here
unit.nim(5, 11) template/generic instantiation from here
lib/pure/unittest.nim(610, 43) template/generic instantiation from here
/Users/vivekpoddar/dev/pretty-bytes/src/prettybytes.nim(17, 13) template/generic instantiation from here
lib/pure/strformat.nim(276, 5) Error: undeclared identifier: 'format'
Tip: 4 messages have been suppressed, use --verbose to show them.
Error: Execution failed with exit code 256
The text was updated successfully, but these errors were encountered:
I need to import
strformat
in unit tests otherwise I get the following error:The text was updated successfully, but these errors were encountered: