test-token/teto_macros/tests/basic.rs

16 lines
255 B
Rust
Raw Permalink Normal View History

2024-08-30 22:50:03 -07:00
use teto::TestToken;
#[teto::test]
fn basic_test(_token: TestToken) {}
#[teto::test]
pub(self) fn test_with_visibility(t: TestToken) {
assert_eq!(t, t);
}
#[teto::test]
const fn const_test(_: TestToken) {}
#[teto::test]
const fn no_token_arg() {}