Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewBuildInfoFromOldString (0.17 sec)

  1. pkg/version/version_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package version
    
    import (
    	"fmt"
    	"runtime"
    	"testing"
    )
    
    func TestNewBuildInfoFromOldString(t *testing.T) {
    	cases := []struct {
    		name       string
    		in         string
    		expectFail bool
    		want       BuildInfo
    	}{
    		{
    			"Correct input 1",
    			`Version: 1.0.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top