Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
cue: update builtins
Browse files Browse the repository at this point in the history
Change-Id: I7c5b095929b509987859ffb5b1a3eef00030d4b2
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/2744
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
  • Loading branch information
mpvl committed Aug 7, 2019
1 parent 3bc7dd3 commit dc30df1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cue/builtin_test.go
Expand Up @@ -305,6 +305,9 @@ func TestBuiltins(t *testing.T) {
}, {
test("time", `time.Time & "no time"`),
`_|_(error in call to time.Time: invalid time "no time")`,
}, {
test("time", `time.Unix(1500000000, 123456)`),
`"2017-07-14T02:40:00.000123456Z"`,
}}
for _, tc := range testCases {
t.Run("", func(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cue/builtins.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc30df1

Please sign in to comment.