[unittest] remove unnecessay export for testing (#20868)

This commit is contained in:
ringabout
2022-12-02 03:31:48 +08:00
committed by GitHub
parent a104aa4714
commit 8266750497
2 changed files with 1 additions and 2 deletions

View File

@@ -433,8 +433,6 @@ proc matchFilter(suiteName, testName, filter: string): bool =
return glob(suiteName, suiteAndTestFilters[0]) and
glob(testName, suiteAndTestFilters[1])
when defined(testing): export matchFilter
proc shouldRun(currentSuiteName, testName: string): bool =
## Check if a test should be run by matching suiteName and testName against
## test filters.

View File

@@ -23,6 +23,7 @@ targets: "c js"
"""
import std/[unittest, sequtils, assertions]
from std/unittest {.all.} import matchFilter
proc doThings(spuds: var int): int =
spuds = 24