def test_grep_to_cmdrun_basic():
    """Test basic pattern with no special characters."""
    cmd = grep_to_cmdrun('function', 'src')
    assert 'rg -li function' in cmd
    assert 'Below are the execution results' in cmd

    # With include parameter
    cmd = grep_to_cmdrun('error', 'src', '*.js')
    assert 'rg -li error' in cmd
    assert "--glob '*.js'" in cmd
    assert 'Below are the execution results' in cmd
Test basic pattern with no special characters.
tests/runtime/test_glob_and_grep.py