agent-tui-common 1.1.0

Shared errors, colors, and telemetry utilities for agent-tui
Documentation
1
2
3
4
5
6
7
8
use super::*;

#[test]
fn test_colors_disabled() {
    let _ = NO_COLOR.set(true);
    assert_eq!(Colors::success("test"), "test");
    assert_eq!(Colors::error("test"), "test");
}