mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 21:57:41 +00:00
style(directory): Add comments for test settings (#2538)
Have added some comments to explain the settings we are using in some tests.
This commit is contained in:
parent
7ef3caf542
commit
7779ed6075
@ -683,6 +683,8 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn root_directory() {
|
||||
// Note: We have disable the read_only settings here due to false positives when running
|
||||
// the tests on Windows as a non-admin.
|
||||
let actual = ModuleRenderer::new("directory")
|
||||
.config(toml::toml! {
|
||||
[directory]
|
||||
@ -1461,6 +1463,8 @@ mod tests {
|
||||
Color::Cyan.bold().paint("C:/Windows/System32")
|
||||
));
|
||||
|
||||
// Note: We have disable the read_only settings here due to false positives when running
|
||||
// the tests on Windows as a non-admin.
|
||||
let actual = ModuleRenderer::new("directory")
|
||||
.config(toml::toml! {
|
||||
[directory]
|
||||
|
Loading…
Reference in New Issue
Block a user