mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-26 05:13:24 +03:00
Remove duplicate test case.
This commit is contained in:
parent
fb7f5fa1e9
commit
be20a6c9ee
@ -55,7 +55,7 @@ all =
|
||||
]
|
||||
}
|
||||
, globTestCase
|
||||
{ name = "6"
|
||||
{ name = "oneOf"
|
||||
, glob =
|
||||
Glob.succeed Tuple.pair
|
||||
|> Glob.match (Glob.literal "glob-test-cases/")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user