diff options
author | Robert Griesemer <gri@golang.org> | 2008-05-08 17:12:15 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2008-05-08 17:12:15 -0700 |
commit | 9bc7b08abbb53469ebc39fb6617b29da0756e858 (patch) | |
tree | 6fc2b040e6b32367f31b9d6b064fad5562a300a9 /test/float_lit.go | |
parent | 7fbe486b1a84207b4c75664257ad538384e280d8 (diff) | |
download | go-git-9bc7b08abbb53469ebc39fb6617b29da0756e858.tar.gz |
- changed literal syntax to use the convert notation
- fixed issued with function declarations/function literals
- added more tests and fixed existing tests
SVN=118167
Diffstat (limited to 'test/float_lit.go')
-rw-r--r-- | test/float_lit.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/float_lit.go b/test/float_lit.go index 11decaffb1..a5413d9805 100644 --- a/test/float_lit.go +++ b/test/float_lit.go @@ -7,7 +7,8 @@ package main func main() { - [ 0., + []float( + 0., +10., -210., @@ -66,5 +67,5 @@ func main() { 0.0E123, +10.01e234, -210.012e345 - ] + ); } |