Skip to content

Commit aa96dbe

Browse files
Fix indentation
1 parent 629ffab commit aa96dbe

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

test/clj/cider/nrepl/middleware/inspect_test.clj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -478,35 +478,35 @@
478478
(is (str/includes? (-> (session/message {:op "eval"
479479
:inspect "true"
480480
:code fits})
481-
extract-text)
482-
(x-pattern (- max-len 10) "")))
481+
extract-text)
482+
(x-pattern (- max-len 10) "")))
483483
(is (str/includes? (-> (session/message {:op "eval"
484484
:inspect "true"
485485
:code too-long})
486-
extract-text)
487-
(x-pattern max-len "...")))
486+
extract-text)
487+
(x-pattern max-len "...")))
488488
(is (str/includes? (-> (session/message {:op "eval"
489489
:inspect "true"
490490
:code too-long
491491
:max-atom-length 10})
492-
extract-text)
493-
(x-pattern 10 "..."))))
492+
extract-text)
493+
(x-pattern 10 "..."))))
494494

495495
(testing "max atom length can be changed without re-eval'ing last form"
496496
(session/message {:op "inspect-clear"})
497497
(is (str/includes? (-> (session/message {:op "eval"
498498
:inspect "true"
499499
:code too-long})
500-
extract-text)
501-
(x-pattern max-len "...")))
500+
extract-text)
501+
(x-pattern max-len "...")))
502502
(is (str/includes? (-> (session/message {:op "inspect-refresh"
503503
:max-atom-length 10})
504-
extract-text)
505-
(x-pattern 10 "...")))
504+
extract-text)
505+
(x-pattern 10 "...")))
506506
(is (str/includes? (-> (session/message {:op "inspect-refresh"
507507
:max-atom-length 20})
508-
extract-text)
509-
(x-pattern 20 "..."))))))
508+
extract-text)
509+
(x-pattern 20 "..."))))))
510510

511511
(deftest max-value-length-integration-test
512512
(let [max-len (:max-value-length @#'orchard.inspect/default-inspector-config)
@@ -592,9 +592,9 @@
592592
:code nested-coll
593593
:max-nested-depth 5})]
594594
(is (str/includes? (extract-text default)
595-
"\"[[[[[[[[[[1]]]]]]]]]]\""))
595+
"\"[[[[[[[[[[1]]]]]]]]]]\""))
596596
(is (str/includes? (extract-text limited)
597-
"\"[[[[[[...]]]]]]\""))))
597+
"\"[[[[[[...]]]]]]\""))))
598598

599599
(testing "max nested depth can be changed without re-eval'ing last form"
600600
(session/message {:op "inspect-clear"})
@@ -604,9 +604,9 @@
604604
limited (session/message {:op "inspect-refresh"
605605
:max-nested-depth 5})]
606606
(is (str/includes? (extract-text default)
607-
"\"[[[[[[[[[[1]]]]]]]]]]\""))
607+
"\"[[[[[[[[[[1]]]]]]]]]]\""))
608608
(is (str/includes? (extract-text limited)
609-
"\"[[[[[[...]]]]]]\""))))))
609+
"\"[[[[[[...]]]]]]\""))))))
610610

611611
(def normal-mode-prefix
612612
["--- Contents:" [:newline]

0 commit comments

Comments
 (0)