MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_token_display

Function test_token_display

atomic-core/src/diff/token/tests.rs:164–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162
163 #[test]
164 fn test_token_display() {
165 let token = Token::new(b"hello", TokenKind::Word, 0);
166 assert_eq!(format!("{}", token), "hello");
167 }
168
169 #[test]
170 fn test_token_clone() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected