...

Text file src/github.com/emissary-ingress/emissary/v3/build-aux/tests/prelude_path.bats

Documentation: github.com/emissary-ingress/emissary/v3/build-aux/tests

     1#!/usr/bin/env bats
     2
     3load common
     4
     5@test "prelude_path.mk: path.trimprefix" {
     6	check_expr_eq echo '$(call path.trimprefix,foo/bar,foo/bar foo/bar/baz qux)' '. baz qux'
     7}
     8
     9@test "prelude_path.mk: path.addprefix" {
    10	check_expr_eq echo '$(call path.addprefix,foo/bar,. baz)' 'foo/bar foo/bar/baz'
    11}

View as plain text