4 ms·
ripgrep's src/ contain both library code and unit tests. The grep source code appears to use different tests/ and src/ directories. ripgre's source code files
by adamch 6y ago
ripgrep's src/ contain both library code and unit tests. The grep source code appears to use different tests/ and src/ directories.
ripgre's source code files appear to be between 1/3 and 1/2 unit tests, in the few samples I checked. For example, https://github.com/BurntSushi/ripgrep/blob/master/crates/searcher/src/line_buffer.rs https://github.com/BurntSushi/ripgrep/blob/master/crates/sea...