You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2020/07/31 09:05:34 UTC
[incubator-annotator] 07/07: Fix swapped assertion result and
expectation
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit 70a646084bdc1c9c7aa9abbec906242881bae811
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Fri Jul 31 02:03:47 2020 -0700
Fix swapped assertion result and expectation
---
packages/dom/test/range/cartesian.test.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/dom/test/range/cartesian.test.ts b/packages/dom/test/range/cartesian.test.ts
index 937b402..bae6027 100644
--- a/packages/dom/test/range/cartesian.test.ts
+++ b/packages/dom/test/range/cartesian.test.ts
@@ -56,7 +56,7 @@ describe('cartesian', () => {
result.push(value);
}
- assert.sameDeepMembers(expected, result, 'yields the expected items');
+ assert.sameDeepMembers(result, expected, 'yields the expected items');
});
});
});