diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-04-22 06:49:40 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-04-24 18:47:10 +0300 |
commit | 814fce93e34a1f5981b9afcc38c97b3f4b7d52da (patch) | |
tree | 4b0fd32a2b85d44c74002375f845d2347cf7a491 /src | |
parent | 334643f3b7b5a3e9c1b7f24b7e153663ee221d44 (diff) | |
download | subplot-814fce93e34a1f5981b9afcc38c97b3f4b7d52da.tar.gz |
fix(src/codegen.rs): formatting
Sponsored-by: author
Diffstat (limited to 'src')
-rw-r--r-- | src/codegen.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codegen.rs b/src/codegen.rs index 9f346a9..dfe4e1f 100644 --- a/src/codegen.rs +++ b/src/codegen.rs @@ -170,10 +170,10 @@ mod test { #[test] fn verify_name_slugification() { static GOOD_CASES: &[(&str, &str)] = &[ - ("foobar", "foobar"), // Simple words pass through - ("FooBar", "foobar"), // Capital letters are lowercased + ("foobar", "foobar"), // Simple words pass through + ("FooBar", "foobar"), // Capital letters are lowercased ("Motörhead", "mot_rhead"), // Non-ascii characters are changed for underscores - ("foo bar", "foo_bar"), // As is whitespace etc. + ("foo bar", "foo_bar"), // As is whitespace etc. ]; for (input, output) in GOOD_CASES.iter().copied() { let input = Value::from(input); |