mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-05 18:18:55 +00:00
HYPERLINK tests: use the Arg helpers
This commit is contained in:
1 parent
0f78a6b126
commit
87342cb308
1 file changed
+3
-3
@@ -608,9 +608,9 @@ mod tests {
|
||||
// Excel 16: without a friendly name the result is the link as text.
|
||||
is_text(ev("HYPERLINK", vec![n(1.0)]), "1");
|
||||
is_text(ev("HYPERLINK", vec![n(1.5)]), "1.5");
|
||||
is_text(ev("HYPERLINK", vec![Value::Bool(true)]), "TRUE");
|
||||
is_text(ev("HYPERLINK", vec![Value::Empty]), "");
|
||||
is_err(ev("HYPERLINK", vec![Value::Error(CellError::Div0)]), CellError::Div0);
|
||||
is_text(ev("HYPERLINK", vec![b(true)]), "TRUE");
|
||||
is_text(ev("HYPERLINK", vec![rf(Value::Empty)]), "");
|
||||
is_err(ev("HYPERLINK", vec![e(CellError::Div0)]), CellError::Div0);
|
||||
is_text(ev("ENCODEURL", vec![t("a b&c/é")]), "a%20b%26c%2F%C3%A9");
|
||||
is_err(ev("WEBSERVICE", vec![t("http://x")]), CellError::Value);
|
||||
is_err(ev("FILTERXML", vec![t("<a/>"), t("//a")]), CellError::Value);
|
||||
|
||||
Reference in new issue
Block a user