Remove duplicate test case.

This commit is contained in:
Dillon Kearns 2022-03-04 09:06:58 -08:00
parent fb7f5fa1e9
commit be20a6c9ee
2 changed files with 1 additions and 18 deletions

View File

@ -55,7 +55,7 @@ all =
]
}
, globTestCase
{ name = "6"
{ name = "oneOf"
, glob =
Glob.succeed Tuple.pair
|> Glob.match (Glob.literal "glob-test-cases/")

View File

@ -18,23 +18,6 @@ all =
{ expectedMatch = "my-file"
, expectedPattern = "*.txt"
}
, test "oneOf" <|
\() ->
Glob.succeed Tuple.pair
|> Glob.capture Glob.wildcard
|> Glob.match (Glob.literal ".")
|> Glob.capture
(Glob.oneOf
( ( "yml", Yml )
, [ ( "json", Json )
]
)
)
-- https://runkit.com/embed/05epbnc0c7g1
|> expect "data-file.json"
{ expectedMatch = ( "data-file", Json )
, expectedPattern = "*.{yml,json}"
}
, test "mix of match and capture with wildcards" <|
\() ->
Glob.succeed identity