We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8738518 commit aaf8cadCopy full SHA for aaf8cad
2 files changed
.github/workflows/rust.yml
@@ -37,7 +37,7 @@ jobs:
37
- uses: actions/checkout@v6
38
- uses: swatinem/rust-cache@v2
39
- name: cargo test
40
- run: cargo test --workspace
+ run: RUST_BACKTRACE=1 cargo test --workspace
41
dev-check:
42
runs-on: ubuntu-latest
43
steps:
tests/integration_tests.rs
@@ -38,6 +38,7 @@ impl<'a> Cmd<'a> {
self
}
+ #[track_caller]
fn assert(&self, success: bool) {
let rustlings_bin = {
44
let mut path = env::current_exe().unwrap();
@@ -87,11 +88,13 @@ impl<'a> Cmd<'a> {
87
88
89
90
#[inline]
91
92
fn success(&self) {
93
self.assert(true);
94
95
96
97
98
fn fail(&self) {
99
self.assert(false);
100
0 commit comments