Fix the fix 😒
This commit is contained in:
parent
d78a0b7912
commit
0220e2614c
1 changed files with 3 additions and 4 deletions
|
@ -35,13 +35,12 @@ namespace EndToEnd.Tests
|
||||||
if (!(new FileInfo(baselineFile).Exists))
|
if (!(new FileInfo(baselineFile).Exists))
|
||||||
{
|
{
|
||||||
new FileInfo(manifestFile).Exists.Should().BeTrue();
|
new FileInfo(manifestFile).Exists.Should().BeTrue();
|
||||||
}
|
|
||||||
|
|
||||||
using var fileStream = new FileStream(manifestFile, FileMode.Open, FileAccess.Read);
|
using var fileStream = new FileStream(manifestFile, FileMode.Open, FileAccess.Read);
|
||||||
Action readManifest = () => WorkloadManifestReader.ReadWorkloadManifest(manifestId, fileStream, manifestFile);
|
Action readManifest = () => WorkloadManifestReader.ReadWorkloadManifest(manifestId, fileStream, manifestFile);
|
||||||
readManifest.ShouldNotThrow("manifestId:" + manifestId + " manifestFile:" + manifestFile + "is invalid");
|
readManifest.ShouldNotThrow("manifestId:" + manifestId + " manifestFile:" + manifestFile + "is invalid");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue