vibe-action 0.2.0

Command router — execute shell commands and LLM prompts via simple YAML actions.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::app_test_modifier;

#[test]
fn test_text_html() {
    let output = app_test_modifier("text-html");
    assert!(output.status.success());
    let stdout = String::from_utf8_lossy(&output.stdout);
    assert!(stdout.contains("Hello World"));
    assert!(!stdout.contains("<html>"));
}

#[test]
fn test_text_not_html() {
    let output = app_test_modifier("text-not-html");
    assert!(!output.status.success()); // should fail — not HTML, not file
}