view src/testdir/test_assign.vim @ 10015:5ac2dd61ca8f v7.4.2280

commit https://github.com/vim/vim/commit/e999782e369999539a1783a7ebe4eadcc6da28a8 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 28 16:03:38 2016 +0200 patch 7.4.2280 Problem: printf() doesn't handle infinity float values correctly. Solution: Add a table with possible infinity values. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Aug 2016 16:15:04 +0200
parents 5104f96b6ecf
children 4dea7c96fc82
line wrap: on
line source

" Test for assignment

func Test_no_type_checking()
  let v = 1
  let v = [1,2,3]
  let v = {'a': 1, 'b': 2}
  let v = 3.4
  let v = 'hello'
endfunc