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

Function test_token_kind_is_whitespace

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

Source from the content-addressed store, hash-verified

37
38 #[test]
39 fn test_token_kind_is_whitespace() {
40 assert!(TokenKind::Whitespace.is_whitespace());
41 assert!(TokenKind::Newline.is_whitespace());
42 assert!(!TokenKind::Word.is_whitespace());
43 assert!(!TokenKind::Other.is_whitespace());
44 }
45
46 #[test]
47 fn test_token_kind_name() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected