Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
1151e7b5
Commit
1151e7b5
authored
Feb 15, 2016
by
Mikhail Glushenkov
Browse files
Merge pull request #3154 from grayjay/file-monitor-test
Fix glob in file monitor unit test
parents
7b92877c
d74e18b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/tests/UnitTests/Distribution/Client/FileMonitor.hs
View file @
1151e7b5
...
...
@@ -241,7 +241,7 @@ testGlobNoChange =
updateMonitor
root
monitor
[
monitorFileGlob
"dir/good-*"
]
()
()
(
res
,
files
)
<-
expectMonitorUnchanged
root
monitor
()
res
@?=
()
files
@?=
[
monitorFileGlob
(
"dir
"
</>
"
good-*"
)
]
files
@?=
[
monitorFileGlob
"dir
/
good-*"
]
testGlobAddMatch
::
Assertion
testGlobAddMatch
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment