|
10 | 10 | (are [dirname filename expected] (= expected |
11 | 11 | (sut/dir-contains? dirname filename)) |
12 | 12 |
|
13 | | - "." (-> "src/formatting_stack/strategies/impl.clj" File.) true |
14 | | - (-> "." File. .getAbsolutePath) (File. "project.clj") true |
15 | | - "." (File. "project.clj") true |
16 | | - "." (File. "dev/user.clj") true |
17 | | - "dev" (File. "dev/user.clj") true |
18 | | - "." (File. "LICENSE") true |
19 | | - (-> "." File. .getAbsolutePath) (File. "LICENSE") true |
20 | | - "." (File. "./LICENSE") true |
21 | | - "dev" (File. "LICENSE") false |
22 | | - "dev" (File. "./LICENSE") false |
23 | | - (-> "." File. .getAbsolutePath) (File. "I_dont_exist") false |
24 | | - "." (File. "I_dont_exist") false |
25 | | - "dev" (File. "I_dont_exist") false |
26 | | - "dev" (File. "user.clj") false)) |
| 13 | + "." (-> "src/formatting_stack/strategies/impl.clj" File.) true |
| 14 | + (-> "." File. .getCanonicalPath) (File. "project.clj") true |
| 15 | + "." (File. "project.clj") true |
| 16 | + "." (File. "dev/user.clj") true |
| 17 | + "dev" (File. "dev/user.clj") true |
| 18 | + "." (File. "LICENSE") true |
| 19 | + (-> "." File. .getCanonicalPath) (File. "LICENSE") true |
| 20 | + "." (File. "./LICENSE") true |
| 21 | + "dev" (File. "LICENSE") false |
| 22 | + "dev" (File. "./LICENSE") false |
| 23 | + (-> "." File. .getCanonicalPath) (File. "I_dont_exist") false |
| 24 | + "." (File. "I_dont_exist") false |
| 25 | + "dev" (File. "I_dont_exist") false |
| 26 | + "dev" (File. "user.clj") false)) |
27 | 27 |
|
28 | 28 | (deftest absolutize |
29 | 29 | (are [target] (testing target |
|
0 commit comments