blob: 72a82a3f51506bab2c073d76525710b9b7e29488 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use ansi_term::Colour::Red;
#[test]
fn log_ansi_test() {
fuchsia_syslog::init().expect("initializing log");
log::info!("{}", Red.paint("red log"));
}
#[test]
fn stdout_ansi_test() {
println!("{}", Red.paint("red stdout"));
}