Browse Source

Update luacov config

Peter Colberg 4 years ago
parent
commit
6f947e6745
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      test/.luacov

+ 8
- 8
test/.luacov View File

@@ -14,22 +14,22 @@ return {
14 14
   -- Patterns for files to include when reporting
15 15
   -- all will be included if nothing is listed
16 16
   -- (exclude overrules include, do not include
17
-  -- the .lua extension)
17
+  -- the .lua extension, path separator is always '/')
18 18
   include = {
19
-    "units%.init$",
19
+    "units/init$",
20 20
     "^%w+$",
21 21
   },
22 22
 
23 23
   -- Patterns for files to exclude when reporting
24 24
   -- all will be included if nothing is listed
25 25
   -- (exclude overrules include, do not include
26
-  -- the .lua extension)
26
+  -- the .lua extension, path separator is always '/')
27 27
   exclude = {
28 28
     "luacov$",
29
-    "luacov%.reporter$",
30
-    "luacov%.defaults$",
31
-    "luacov%.runner$",
32
-    "luacov%.stats$",
33
-    "luacov%.tick$",
29
+    "luacov/reporter$",
30
+    "luacov/defaults$",
31
+    "luacov/runner$",
32
+    "luacov/stats$",
33
+    "luacov/tick$",
34 34
   },
35 35
 }

Loading…
Cancel
Save