Skip to content

Commit

Permalink
Replace super paths with crate path
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerkindt committed Mar 11, 2021
1 parent 3cc0c8a commit 6b6d900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
args: -- tests ITS-Container.asn CAM-PDU-Descriptions.asn
- run: bash -c "echo '#[test] fn does_it_compile() { let _ = StationID(1); }' >> tests/its_container.rs"
- run: sed -i '1i mod its_container;' tests/cam_pdu_descriptions.rs
- run: sed -i 's/super::/crate::/g' tests/cam_pdu_descriptions.rs
- run: cat tests/cam_pdu_descriptions.rs
- run: bash -c "echo '#[test] fn does_it_compile() { let _ = GenerationDeltaTime(1); }' >> tests/cam_pdu_descriptions.rs"
- uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 6b6d900

Please sign in to comment.