Skip to content
代码片段 群组 项目
提交 a7a5e4ae 编辑于 作者: David Barbet's avatar David Barbet
浏览文件

Fix tests

上级 c6a8ff6a
No related branches found
No related tags found
无相关合并请求
......@@ -67,7 +67,7 @@ public async Task CreatingDirectoryWatchRequestsDirectoryWatch()
var watcher = GetSingleFileWatcher(dynamicCapabilitiesRpcTarget);
Assert.Equal(tempDirectory.Path + Path.DirectorySeparatorChar, watcher.GlobPattern.BaseUri);
Assert.Equal(tempDirectory.Path + Path.DirectorySeparatorChar, watcher.GlobPattern.BaseUri.LocalPath);
Assert.Equal("**/*", watcher.GlobPattern.Pattern);
// Get rid of the registration and it should be gone again
......@@ -99,7 +99,7 @@ public async Task CreatingFileWatchRequestsFileWatch()
var watcher = GetSingleFileWatcher(dynamicCapabilitiesRpcTarget);
Assert.Equal("Z:\\", watcher.GlobPattern.BaseUri);
Assert.Equal("Z:\\", watcher.GlobPattern.BaseUri.LocalPath);
Assert.Equal("SingleFile.txt", watcher.GlobPattern.Pattern);
// Get rid of the registration and it should be gone again
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册