aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/string_reader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-brigadier/src/string_reader.rs')
-rw-r--r--azalea-brigadier/src/string_reader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-brigadier/src/string_reader.rs b/azalea-brigadier/src/string_reader.rs
index 5825871f..f220267a 100644
--- a/azalea-brigadier/src/string_reader.rs
+++ b/azalea-brigadier/src/string_reader.rs
@@ -824,7 +824,7 @@ mod test {
#[test]
fn expect_correct() {
let mut reader = StringReader::from("abc".to_string());
- reader.expect('a');
+ reader.expect('a').unwrap();
assert_eq!(reader.cursor(), 1);
}