mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
committed by
Johannes Altmanninger
parent
63cda65815
commit
83ece2161d
@@ -490,7 +490,6 @@ fn test_autoload() {
|
||||
let _cleanup = test_init();
|
||||
use crate::common::{charptr2wcstring, wcs2zstring};
|
||||
use crate::fds::wopen_cloexec;
|
||||
use crate::wutil::sprintf;
|
||||
use nix::fcntl::OFlag;
|
||||
|
||||
macro_rules! run {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
use crate::wutil::wgettext;
|
||||
use crate::{
|
||||
wchar::{wstr, WString, L},
|
||||
wutil::{fish_wcstoi, sprintf, wgettext_fmt},
|
||||
wutil::{fish_wcstoi, wgettext_fmt},
|
||||
};
|
||||
use std::num::NonZeroU32;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
common::charptr2wcstring,
|
||||
reader::{get_quote, is_backslashed},
|
||||
util::wcsfilecmp,
|
||||
wutil::{localizable_string, sprintf, LocalizableString},
|
||||
wutil::{localizable_string, LocalizableString},
|
||||
};
|
||||
use bitflags::bitflags;
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
use crate::parser::Parser;
|
||||
use crate::parser_keywords::parser_keywords_is_reserved;
|
||||
use crate::wchar::prelude::*;
|
||||
use crate::wutil::{dir_iter::DirIter, sprintf};
|
||||
use crate::wutil::dir_iter::DirIter;
|
||||
use once_cell::sync::Lazy;
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::num::NonZeroU32;
|
||||
|
||||
@@ -51,8 +51,6 @@ macro_rules! eprintf {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
// Test basic sprintf with both literals and wide strings.
|
||||
#[test]
|
||||
fn test_sprintf() {
|
||||
|
||||
Reference in New Issue
Block a user