From c486ea81f457f2a4c905e68dfb1e111a9b00f83b Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Tue, 2 Jul 2024 15:03:04 +0200 Subject: [PATCH] Cleanup --- frontend/test/token_tests/token_test.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/test/token_tests/token_test.cljs b/frontend/test/token_tests/token_test.cljs index deea17fc0..c999c74ca 100644 --- a/frontend/test/token_tests/token_test.cljs +++ b/frontend/test/token_tests/token_test.cljs @@ -22,14 +22,14 @@ (t/deftest tokens-applied-test (t/testing "is true when single shape matches the token and attributes" (t/is (true? (wtt/shapes-token-applied? {:id :a} [{:applied-tokens {:x :a}} - {:applied-tokens {:x :b}}] + {:applied-tokens {:x :b}}] #{:x})))) (t/testing "is false when no shape matches the token or attributes" (t/is (nil? (wtt/shapes-token-applied? {:id :a} [{:applied-tokens {:x :b}} - {:applied-tokens {:x :b}}] + {:applied-tokens {:x :b}}] #{:x}))) (t/is (nil? (wtt/shapes-token-applied? {:id :a} [{:applied-tokens {:x :a}} - {:applied-tokens {:x :a}}] + {:applied-tokens {:x :a}}] #{:y}))))) (t/deftest name->path-test