Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCreateConstantString (0.14 sec)

  1. pkg/test/framework/tools/featuresgen/cmd/root_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package cmd
    
    import (
    	"sort"
    	"strings"
    	"testing"
    
    	"gopkg.in/yaml.v2"
    )
    
    func TestCreateConstantString(t *testing.T) {
    	s1 := createConstantString([]string{"lab-el1", "label2"})
    	if s1 != "\tLabEl1_Label2\tFeature = \"lab-el1.label2\"" {
    		t.Errorf("Expected '\tLabEl1_Label2\tFeature = \"lab-el1.label2\"' got '%s'", s1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top