github.com/linuxboot/fiano@v1.2.0/pkg/visitors/comment_test.go (about)

     1  // Copyright 2018 the LinuxBoot Authors. All rights reserved
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package visitors
     6  
     7  import (
     8  	"testing"
     9  )
    10  
    11  func TestComment(t *testing.T) {
    12  	f := parseImage(t)
    13  	results := comment(t, f)
    14  
    15  	if len(results) != 0 {
    16  		t.Fatalf("got %d matches; expected 0", len(results))
    17  	}
    18  }