summaryrefslogtreecommitdiff
path: root/addons/web/static/tests
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/tests')
-rw-r--r--addons/web/static/tests/views/graph_tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/tests/views/graph_tests.js b/addons/web/static/tests/views/graph_tests.js
index ca969fb9ac9..4db8f77feb4 100644
--- a/addons/web/static/tests/views/graph_tests.js
+++ b/addons/web/static/tests/views/graph_tests.js
@@ -979,7 +979,7 @@ QUnit.module('Views', {
var graph = self.actionManager.getCurrentController().widget;
if (self.combinationsToCheck[combination].errorMessage) {
assert.strictEqual(
- graph.$('.o_nocontent_help p').eq(1).text(),
+ graph.$('.o_nocontent_help p').eq(1).text().trim(),
self.combinationsToCheck[combination].errorMessage
);
} else {