Skip to content

Commit 3497b81

Browse files
mungojamemgarten
authored andcommitted
Correct sleet.config -> sleet.json in relative file test
1 parent 609e898 commit 3497b81

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/SleetLib.Tests/FeedTests.cs

+12-12
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,18 @@ await TestUtility.WalkJsonAsync(target.Root, (file, json, toCheck) =>
112112
}
113113

114114
[WindowsTheory]
115-
[InlineData(@"c:\configPath\sleet.config", @".\", @"c:\configPath\")]
116-
[InlineData(@"c:\configPath\sleet.config", @".", @"c:\configPath\")]
117-
[InlineData(@"c:\configPath\sleet.config", @"", @"c:\configPath\")]
118-
[InlineData(@"c:\configPath\sleet.config", @"singleSubFolder", @"c:\configPath\singleSubFolder\")]
119-
[InlineData(@"c:\configPath\sleet.config", @"nestedSubFolder\a", @"c:\configPath\nestedSubFolder\a\")]
120-
[InlineData(@"c:\configPath\sleet.config", @"c:\absolutePath", @"c:\absolutePath\")]
121-
[InlineData(@"\\some-network-share\share\sleet.config", @"singleSubFolder", @"\\some-network-share\share\singleSubFolder\")]
122-
[InlineData(@"\\some-network-share\share\sleet.config", @"nestedSubFolder\a", @"\\some-network-share\share\nestedSubFolder\a\")]
123-
[InlineData(@"\\some-network-share\share\sleet.config", @".\", @"\\some-network-share\share\")]
124-
[InlineData(@"file:///c:/configPath/sleet.config", @"", @"c:\configPath\")]
125-
[InlineData(@"file:///c:/configPath/sleet.config", @"singleSubFolder", @"c:\configPath\singleSubFolder\")]
126-
[InlineData(@"file:///c:/configPath/sleet.config", @"nestedSubFolder\a", @"c:\configPath\nestedSubFolder\a\")]
115+
[InlineData(@"c:\configPath\sleet.json", @".\", @"c:\configPath\")]
116+
[InlineData(@"c:\configPath\sleet.json", @".", @"c:\configPath\")]
117+
[InlineData(@"c:\configPath\sleet.json", @"", @"c:\configPath\")]
118+
[InlineData(@"c:\configPath\sleet.json", @"singleSubFolder", @"c:\configPath\singleSubFolder\")]
119+
[InlineData(@"c:\configPath\sleet.json", @"nestedSubFolder\a", @"c:\configPath\nestedSubFolder\a\")]
120+
[InlineData(@"c:\configPath\sleet.json", @"c:\absolutePath", @"c:\absolutePath\")]
121+
[InlineData(@"\\some-network-share\share\sleet.json", @"singleSubFolder", @"\\some-network-share\share\singleSubFolder\")]
122+
[InlineData(@"\\some-network-share\share\sleet.json", @"nestedSubFolder\a", @"\\some-network-share\share\nestedSubFolder\a\")]
123+
[InlineData(@"\\some-network-share\share\sleet.json", @".\", @"\\some-network-share\share\")]
124+
[InlineData(@"file:///c:/configPath/sleet.json", @"", @"c:\configPath\")]
125+
[InlineData(@"file:///c:/configPath/sleet.json", @"singleSubFolder", @"c:\configPath\singleSubFolder\")]
126+
[InlineData(@"file:///c:/configPath/sleet.json", @"nestedSubFolder\a", @"c:\configPath\nestedSubFolder\a\")]
127127
public void Feed_LocalTypeSupportsRelativePath(string configPath, string outputPath, string expected)
128128
{
129129
using (var cache = new LocalCache())

0 commit comments

Comments
 (0)