diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-04-21 15:36:37 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-04-21 15:36:37 +0200 |
commit | 4370163fdd46f0ca05af18387b14594de0b0e216 (patch) | |
tree | 173655b56613e2cc7e20ed1fb871a726130878eb /lib/pure/xmlparser.nim | |
parent | 3f546e4a5499309b24e723bd4c44c950e02ca0fe (diff) | |
parent | 22db40e5e4c1bfb5f2ea3b6864873b2edff30764 (diff) | |
download | Nim-4370163fdd46f0ca05af18387b14594de0b0e216.tar.gz |
Merge pull request #2583 from BlaXpirit/test-stdlib
Test stdlib
Diffstat (limited to 'lib/pure/xmlparser.nim')
-rw-r--r-- | lib/pure/xmlparser.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/xmlparser.nim b/lib/pure/xmlparser.nim index 755bfcdbc..840cae734 100644 --- a/lib/pure/xmlparser.nim +++ b/lib/pure/xmlparser.nim @@ -143,7 +143,7 @@ proc loadXml*(path: string): XmlNode = result = loadXml(path, errors) if errors.len > 0: raiseInvalidXml(errors) -when isMainModule: +when not defined(testing) and isMainModule: import os var errors: seq[string] = @[] |