oh-my-posh/src/shell/bash_test.go
Jan De Dobbeleer 7486558436
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
fix(bash): escape executable
resolves #5496
2024-08-22 13:25:00 +02:00

20 lines
349 B
Go

package shell
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestBashFeatures(t *testing.T) {
got := allFeatures.Lines(BASH).String("// these are the features")
want := `// these are the features
_omp_ftcs_marks=1
"$_omp_executable" upgrade
"$_omp_executable" notice
_omp_cursor_positioning=1`
assert.Equal(t, want, got)
}