Skip to content

Commit 55e2fba

Browse files
Fix some brittle snapshots based on github api responses (#74)
Updates snapshot tests, should unblock #71
1 parent e71923b commit 55e2fba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/snapshots/install_all_tools_before_failing.snap

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
source: tests/cli.rs
3-
assertion_line: 101
43
expression: content
54
---
65
[INFO ] Downloading github.com/Roblox/NotARepository@^0.1.0
@@ -9,7 +8,7 @@ expression: content
98
Request from `https://api.github.com/repos/Roblox/NotARepository/releases`
109

1110
Received body:
12-
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/repos#list-releases"}
11+
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#list-releases"}
1312
[INFO ] Downloading github.com/Roblox/@^0.2.0
1413
[ERROR] The following error occurred while trying to download tool "badly-formatted-tool":
1514
unexpected response body: invalid type: map, expected a sequence at line 1 column 0
@@ -23,7 +22,7 @@ expression: content
2322
Request from `https://api.github.com/repos/Roblox/VeryFakeRepository/releases`
2423

2524
Received body:
26-
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/reference/repos#list-releases"}
25+
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/releases/releases#list-releases"}
2726
The following tools were not installed:
2827
[
2928
"also-not-a-real-tool",

0 commit comments

Comments
 (0)