add missing test case for multiple arguments in UNICODE
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
c2a2983937
commit
e130f784fd
@@ -55,7 +55,9 @@ fn test_error_cases() {
|
|||||||
fn wrong_number_of_arguments() {
|
fn wrong_number_of_arguments() {
|
||||||
let mut model = new_empty_model();
|
let mut model = new_empty_model();
|
||||||
model._set("A1", "=UNICODE()");
|
model._set("A1", "=UNICODE()");
|
||||||
|
model._set("A2", "=UNICODE(\"B\",\"A\")");
|
||||||
model.evaluate();
|
model.evaluate();
|
||||||
|
|
||||||
assert_eq!(model._get_text("A1"), *"#ERROR!");
|
assert_eq!(model._get_text("A1"), *"#ERROR!");
|
||||||
|
assert_eq!(model._get_text("A2"), *"#ERROR!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user