MCPcopy Create free account
hub / github.com/conforma/cli / TestBuildHeaderDisplay

Function TestBuildHeaderDisplay

cmd/validate/vsa_test.go:2005–2012  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2003}
2004
2005func TestBuildHeaderDisplay(t *testing.T) {
2006 // Test with a specific timestamp
2007 timestamp := time.Date(2024, 1, 15, 10, 30, 45, 0, time.UTC)
2008 header := buildHeaderDisplay(timestamp)
2009
2010 assert.Equal(t, "VALIDATE VSA RESULT", header.Title)
2011 assert.Equal(t, "2024-01-15T10:30:45Z", header.Timestamp)
2012}
2013
2014func TestHeaderDisplay_String(t *testing.T) {
2015 tests := []struct {

Callers

nothing calls this directly

Calls 1

buildHeaderDisplayFunction · 0.85

Tested by

no test coverage detected