aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/string_reader.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-18 17:59:21 +0000
committermat <github@matdoes.dev>2022-04-18 17:59:21 +0000
commit17d9f676ccdc69743e7717bb91f7ff2999c065f8 (patch)
treecf90d6664ee3c30fe1c2df8a9ecf9862a140200d /azalea-brigadier/src/string_reader.rs
parente2c6131ac9eb3583b05a279c2347d4e3aebe084e (diff)
downloadazalea-drasl-17d9f676ccdc69743e7717bb91f7ff2999c065f8.tar.xz
general cleanup
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);
}