File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections . Generic ;
3
3
using System . IO ;
4
- using System . Security . Cryptography ;
5
4
using Dotnet . Script . DependencyModel . Environment ;
6
5
using Xunit ;
7
6
@@ -13,15 +12,15 @@ public class ScriptExecutionTests
13
12
[ Fact ]
14
13
public void ShouldExecuteHelloWorld ( )
15
14
{
16
- var result = ExecuteInProcess ( Path . Combine ( "HelloWorld" , "HelloWorld.csx" ) ) ;
17
- // Assert.Contains("Hello World", result.output);
15
+ var result = Execute ( Path . Combine ( "HelloWorld" , "HelloWorld.csx" ) ) ;
16
+ Assert . Contains ( "Hello World" , result . output ) ;
18
17
}
19
18
20
19
[ Fact ]
21
20
public void ShouldExecuteScriptWithInlineNugetPackage ( )
22
21
{
23
- var result = ExecuteInProcess ( Path . Combine ( "InlineNugetPackage" , "InlineNugetPackage.csx" ) ) ;
24
- // Assert.Contains("AutoMapper.MapperConfiguration", result.output);
22
+ var result = Execute ( Path . Combine ( "InlineNugetPackage" , "InlineNugetPackage.csx" ) ) ;
23
+ Assert . Contains ( "AutoMapper.MapperConfiguration" , result . output ) ;
25
24
}
26
25
27
26
[ Fact ]
You can’t perform that action at this time.
0 commit comments