Skip to content

Commit a3938ba

Browse files
committed
Fixed tests
Signed-off-by: Mikkel Mørk Hegnhøj <[email protected]>
1 parent a4e73b6 commit a3938ba

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/lib.rs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,7 @@ mod tests {
205205
let req = spin_http::Request {
206206
method: spin_http::Method::Get,
207207
uri: "http://thisistest.com".to_string(),
208-
headers: vec![(
209-
PATH_INFO_HEADER.to_string(),
210-
"./content/hello-test.txt".to_string(),
211-
)],
208+
headers: vec![(PATH_INFO_HEADER.to_string(), "./hello-test.txt".to_string())],
212209
params: vec![],
213210
body: None,
214211
};
@@ -222,10 +219,7 @@ mod tests {
222219
method: spin_http::Method::Get,
223220
uri: "http://thisistest.com".to_string(),
224221
headers: vec![
225-
(
226-
PATH_INFO_HEADER.to_string(),
227-
"./content/hello-test.txt".to_string(),
228-
),
222+
(PATH_INFO_HEADER.to_string(), "./hello-test.txt".to_string()),
229223
(
230224
IF_NONE_MATCH.to_string(),
231225
"13946318585003701156".to_string(),
@@ -244,10 +238,7 @@ mod tests {
244238
method: spin_http::Method::Get,
245239
uri: "http://thisistest.com".to_string(),
246240
headers: vec![
247-
(
248-
PATH_INFO_HEADER.to_string(),
249-
"./content/hello-test.txt".to_string(),
250-
),
241+
(PATH_INFO_HEADER.to_string(), "./hello-test.txt".to_string()),
251242
(IF_NONE_MATCH.to_string(), "".to_string()),
252243
],
253244
params: vec![],

0 commit comments

Comments
 (0)