Unhappy path tests for FORMULATEXT() Function (#1915)

* Unhappy path tests
This commit is contained in:
Mark Baker 2021-03-10 22:38:41 +01:00 committed by GitHub
parent 4717741dc2
commit 499ce61cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -73,4 +73,10 @@ class LookupRefTest extends TestCase
{ {
return require 'tests/data/Calculation/LookupRef/FORMULATEXT.php'; return require 'tests/data/Calculation/LookupRef/FORMULATEXT.php';
} }
public function testFormulaTextWithoutCell(): void
{
$result = LookupRef::FORMULATEXT('A1');
self::assertEquals(Functions::REF(), $result);
}
} }