Add an unit test for compilation without warnings
An unit test which checks whether Nimble compiles without warnings is added. Checking for three warning types cleaned in previous commits is implemented: - [UnusedImport] cleaned in e8c7d5c - [Deprecated] cleaned in 3d6172e - [XDeclaredButNotUsed] cleaned in 7df2ef3 Other types of warnings easily can be added to the test by extending the warnings list. Related to #680
This commit is contained in:
parent
1eb9f0f01c
commit
bb1dd21224
2 changed files with 38 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
## scripting language.
|
||||
|
||||
import version, options, cli, tools
|
||||
import hashes, json, os, strutils, tables, times, osproc
|
||||
import hashes, json, os, strutils, tables, times, osproc, strtabs
|
||||
|
||||
type
|
||||
Flags = TableRef[string, seq[string]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue