Skip to content

Commit

Permalink
tests: update exponent round of test to match new dimension error mes…
Browse files Browse the repository at this point in the history
…sage
  • Loading branch information
mgreminger committed Jan 12, 2025
1 parent cb816a3 commit b4a92d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_basic.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ test('Test floating point exponent rounding', async () => {
content = await page.textContent('#result-units-4');
expect(content).toBe('K');

await expect(page.locator('#cell-5 >> text=Dimension Error: All input arguments to function need to have compatible units')).toBeVisible();
await expect(page.locator('#cell-5 >> text=Dimension Error: sum function requires that all input values have the same units')).toBeVisible();

content = await page.textContent('#result-value-6');
expect(parseLatexFloat(content)).toBeCloseTo(6, precision);
Expand Down

0 comments on commit b4a92d4

Please sign in to comment.