summary refs log tree commit diff stats
path: root/testament/categories.nim
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-11-10 21:53:25 +0100
committerGitHub <noreply@github.com>2020-11-10 21:53:25 +0100
commitbbe49a14ae827b6474d692042406716a3b3dd71f (patch)
tree87408943da9ab5e805a17532bdcdb6f033df5f68 /testament/categories.nim
parentbc3c0487d3059900864d6e8074cf83555a5c446d (diff)
downloadNim-bbe49a14ae827b6474d692042406716a3b3dd71f.tar.gz
Correct all eggs (#15906)
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
Diffstat (limited to 'testament/categories.nim')
-rw-r--r--testament/categories.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/testament/categories.nim b/testament/categories.nim
index fa9391055..0d19842ec 100644
--- a/testament/categories.nim
+++ b/testament/categories.nim
@@ -413,7 +413,7 @@ proc testStdlib(r: var TResults, pattern, options: string, cat: Category) =
   proc isValid(file: string): bool =
     for dir in parentDirs(file, inclusive = false):
       if dir.lastPathPart in ["includes", "nimcache"]:
-        # eg: lib/pure/includes/osenv.nim gives: Error: This is an include file for os.nim!
+        # e.g.: lib/pure/includes/osenv.nim gives: Error: This is an include file for os.nim!
         return false
     let name = extractFilename(file)
     if name.splitFile.ext != ".nim": return false
@@ -433,7 +433,7 @@ proc testStdlib(r: var TResults, pattern, options: string, cat: Category) =
     #[
     todo:
     this logic is fragile:
-    false positives (if appears in a comment), or false negatives, eg
+    false positives (if appears in a comment), or false negatives, e.g.
     `when defined(osx) and isMainModule`.
     Instead of fixing this, see https://github.com/nim-lang/Nim/issues/10045
     for a much better way.