mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-12 22:47:06 +00:00
Fix typo in conformance errors
This commit is contained in:
parent
3e13779f81
commit
3c5106d7e9
2 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ impl Context {
|
|||
false => "multiply",
|
||||
true => "divide"
|
||||
};
|
||||
suggestions.push(format!("{word} left side by {}", desc.trim(), word=word));
|
||||
suggestions.push(format!("{word} right side by {}", desc.trim(), word=word));
|
||||
}
|
||||
|
||||
ConformanceError {
|
||||
|
|
|
@ -107,7 +107,7 @@ fn test_factorize() {
|
|||
fn test_conformance() {
|
||||
test("W -> J",
|
||||
"Conformance error: 1 watt (power) != 1 joule (energy)\n\
|
||||
Suggestions: multiply left side by time, multiply left side by frequency");
|
||||
Suggestions: multiply left side by time, multiply right side by frequency");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue