diff options
| author | mat <github@matdoes.dev> | 2022-04-18 17:59:21 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-18 17:59:21 +0000 |
| commit | 17d9f676ccdc69743e7717bb91f7ff2999c065f8 (patch) | |
| tree | cf90d6664ee3c30fe1c2df8a9ecf9862a140200d /azalea-brigadier/src/string_reader.rs | |
| parent | e2c6131ac9eb3583b05a279c2347d4e3aebe084e (diff) | |
| download | azalea-drasl-17d9f676ccdc69743e7717bb91f7ff2999c065f8.tar.xz | |
general cleanup
Diffstat (limited to 'azalea-brigadier/src/string_reader.rs')
| -rw-r--r-- | azalea-brigadier/src/string_reader.rs | 2 |
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); } |
