01 / Install & forget · what your agent reads

$ cargo test

without rtk71 lines
   Compiling authkit v0.4.2 (/private/tmp/claude-501/-Users-aeppling--superconductor-worktrees-rtk-sc-flux-phonon-4e98/d36bac6a-c158-4776-8c24-adbe62511c7f/scratchpad/demo)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s
     Running unittests src/lib.rs (/private/tmp/claude-501/-Users-aeppling--superconductor-worktrees-rtk-sc-flux-phonon-4e98/d36bac6a-c158-4776-8c24-adbe62511c7f/scratchpad/demo/target/debug/deps/authkit-7b3ad5cbf6b078ab)

running 48 tests
test auth::tests::login_ok ... ok
test auth::tests::login_locked_account ... ok
test auth::tests::login_bad_password ... ok
⋯ 11 more lines
test auth::tests::refresh_token_expired ... FAILED
⋯ 34 more lines
failures:

---- auth::tests::refresh_token_expired stdout ----

thread 'auth::tests::refresh_token_expired' (823614) panicked at src/lib.rs:15:38:
assertion `left == right` failed
  left: Expired
 right: Valid
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    auth::tests::refresh_token_expired

test result: FAILED. 47 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--lib`
rtk
with rtk11 lines
---- auth::tests::refresh_token_expired stdout ----

thread 'auth::tests::refresh_token_expired' (823713) panicked at src/lib.rs:15:38:
assertion `left == right` failed
  left: Expired
 right: Valid
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


[full output: rtk recall fa8d45164a47]
test result: FAILED. 47 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s