Commit 2fe2288
Partially fix our test suite on beta/nightly
Right now on beta the behavior of `file!` (or more specifically, the
cwd when compiling the crate) has changed when running `cargo test`.
It's unclear whether that change will be reverted or not, but it does
point out how brittle these tests are. We want an absolute path, not a
relative one, so using `CARGO_MANIFEST_DIR` instead seems like the way
to go.1 parent 8d0c159 commit 2fe2288
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 57 | + | |
| 58 | + | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
0 commit comments