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

Function test_word_diff_config_builder

atomic-core/src/diff/word.rs:1112–1118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1110
1111 #[test]
1112 fn test_word_diff_config_builder() {
1113 let config = WordDiffConfig::new()
1114 .with_ignore_whitespace(true)
1115 .with_tokenizer(TokenizerConfig::minimal());
1116
1117 assert!(config.filter_whitespace);
1118 }
1119
1120 #[test]
1121 fn test_word_diff_with_config_ignore_whitespace() {

Callers

nothing calls this directly

Calls 2

with_tokenizerMethod · 0.80

Tested by

no test coverage detected