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

Function test_token_debug

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

Source from the content-addressed store, hash-verified

153
154 #[test]
155 fn test_token_debug() {
156 let token = Token::new(b"test", TokenKind::Word, 5);
157 let debug = format!("{:?}", token);
158 assert!(debug.contains("test"));
159 assert!(debug.contains("Word"));
160 assert!(debug.contains("5"));
161 }
162
163 #[test]
164 fn test_token_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected