Skip to content

Commit

Permalink
Fix incorrect spelling of override
Browse files Browse the repository at this point in the history
- Renames a few test functions whose identifiers contained "overide" instead of "override".
  • Loading branch information
nordzilla authored and jam1garner committed Dec 12, 2023
1 parent 12d013b commit 80d60fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/combo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,19 +473,19 @@ mod tests {
}

#[test]
fn fg_overide() {
fn fg_override() {
let test = "test".green().yellow().red().on_blue();
assert_eq!(test.to_string(), "\x1b[31;44mtest\x1b[0m");
}

#[test]
fn bg_overide() {
fn bg_override() {
let test = "test".on_green().on_yellow().on_blue().red();
assert_eq!(test.to_string(), "\x1b[31;44mtest\x1b[0m");
}

#[test]
fn multiple_overide() {
fn multiple_override() {
let test = "test"
.on_green()
.on_yellow()
Expand Down

0 comments on commit 80d60fb

Please sign in to comment.