Skip to content

Commit dadecf4

Browse files
committed
fix test
Signed-off-by: WangBaiping <[email protected]>
1 parent 996e713 commit dadecf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/extensions/dynamic_modules/test_data/rust/http_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ fn test_body_callbacks_filter_on_bodies() {
160160
f.on_request_body(&mut envoy_filter, true);
161161

162162
assert_eq!(
163-
std::str::from_utf8(&f.get_final_readed_request_body()).unwrap(),
163+
std::str::from_utf8(&f.get_final_read_request_body()).unwrap(),
164164
"nicenicenicenicenicenice"
165165
);
166166

@@ -208,7 +208,7 @@ fn test_body_callbacks_filter_on_bodies() {
208208
f.on_response_body(&mut envoy_filter, true);
209209

210210
assert_eq!(
211-
std::str::from_utf8(&f.get_final_readed_response_body()).unwrap(),
211+
std::str::from_utf8(&f.get_final_read_response_body()).unwrap(),
212212
"coolcoolcoolcoolcoolcool"
213213
);
214214
}

0 commit comments

Comments
 (0)