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:
Ivan Bobev 2019-08-07 19:24:07 +03:00 committed by Dominik Picheta
commit bb1dd21224
2 changed files with 38 additions and 3 deletions

View file

@ -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]]