()
| 1020 | |
| 1021 | #[test] |
| 1022 | fn test_allow_dotfiles_in_root() { |
| 1023 | // Single-component hidden files (not dirs) at the root — these are |
| 1024 | // still filtered because they start with '.' and have len > 1. |
| 1025 | // This is intentional: .env, .gitignore, etc. are usually in |
| 1026 | // .atomicignore if the user wants them tracked. |
| 1027 | assert!(should_ignore_untracked(".env")); |
| 1028 | assert!(should_ignore_untracked(".gitignore")); |
| 1029 | } |
| 1030 | |
| 1031 | #[test] |
| 1032 | fn test_allow_files_with_dots_in_name() { |
nothing calls this directly
no outgoing calls
no test coverage detected