refactor: replace ansi_term with nu_ansi_term (#4339)

This commit is contained in:
David Knaack
2022-09-04 18:44:54 +02:00
committed by GitHub
parent 020759e56a
commit 6ac5df904b
81 changed files with 149 additions and 142 deletions
+2 -2
View File
@@ -470,7 +470,7 @@ fn git_status_wsl(_context: &Context, _conf: &GitStatusConfig) -> Option<String>
#[cfg(test)]
mod tests {
use ansi_term::{ANSIStrings, Color};
use nu_ansi_term::{AnsiStrings, Color};
use std::ffi::OsStr;
use std::fs::{self, File};
use std::io::{self, prelude::*};
@@ -832,7 +832,7 @@ mod tests {
.collect();
let expected = Some(format!(
"{} ",
ANSIStrings(&[
AnsiStrings(&[
Color::Red.bold().paint("[+"),
Color::Green.paint("1"),
Color::Red.bold().paint("]"),