Skip to content

Commit 9844fc7

Browse files
committed
do not use tinyurl in tests
1 parent b8f4136 commit 9844fc7

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/Dotnet.Script.Tests/ScriptExecutionTests.cs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,9 @@ public void ShouldSupportInlineNugetReferencesWithTrailingSemicoloninEvaluatedCo
250250

251251
[Theory]
252252
[InlineData("https://gist.githubusercontent.com/seesharper/5d6859509ea8364a1fdf66bbf5b7923d/raw/0a32bac2c3ea807f9379a38e251d93e39c8131cb/HelloWorld.csx",
253-
"Hello World")]
253+
"Hello World")]
254+
[InlineData("http://gist.githubusercontent.com/seesharper/5d6859509ea8364a1fdf66bbf5b7923d/raw/0a32bac2c3ea807f9379a38e251d93e39c8131cb/HelloWorld.csx",
255+
"Hello World")]
254256
[InlineData("https://github.com/dotnet-script/dotnet-script/files/5035247/hello.csx.gz",
255257
"Hello, world!")]
256258
public void ShouldExecuteRemoteScript(string url, string output)
@@ -259,14 +261,6 @@ public void ShouldExecuteRemoteScript(string url, string output)
259261
Assert.Contains(output, result.Output);
260262
}
261263

262-
[Fact]
263-
public void ShouldExecuteRemoteScriptUsingTinyUrl()
264-
{
265-
var url = "https://tinyurl.com/y8cda9zt";
266-
var (output, _) = ScriptTestRunner.Default.Execute(url);
267-
Assert.Contains("Hello World", output);
268-
}
269-
270264
[Fact]
271265
public void ShouldHandleIssue268()
272266
{

0 commit comments

Comments
 (0)