Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 08cfd4a

Browse filesBrowse files
committed
Fix axis test for fancy exponent format
1 parent 87d1dcb commit 08cfd4a
Copy full SHA for 08cfd4a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎test/jasmine/tests/axes_test.js

Copy file name to clipboardExpand all lines: test/jasmine/tests/axes_test.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,9 +2376,9 @@ describe('Test axes', function() {
23762376

23772377
mockCalc(ax);
23782378

2379-
expect(mockHoverText(ax, 1e-21)).toBe('1e\u221221');
2379+
expect(mockHoverText(ax, 1e-21)).toBe('1×10<sup>−21</sup>');
23802380
expect(mockHoverText(ax, 1)).toBe('1');
2381-
expect(mockHoverText(ax, 1e21)).toBe('1e+21');
2381+
expect(mockHoverText(ax, 1e21)).toBe('1×10<sup>21</sup>');
23822382
});
23832383
});
23842384

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.