blob: fb095d04e0800fc7b0a7d81daba221acf80ff983 [file] [log] [blame]
package revision
import (
"testing"
"time"
"go.skia.org/infra/go/deepequal"
"go.skia.org/infra/go/testutils/unittest"
)
func TestCopyRevision(t *testing.T) {
unittest.SmallTest(t)
v := &Revision{
Id: "abc123",
Author: "me@google.com",
Display: "abc",
Description: "This is a great commit.",
Timestamp: time.Now(),
URL: "www.best-commit.com",
}
deepequal.AssertCopy(t, v, v.Copy())
}