pull/8269/head 0.2.2
Alexander Medvednikov 2021-01-22 10:39:44 +01:00
parent 43d56cb883
commit 46cdf4f1ff
3 changed files with 5 additions and 3 deletions

2
v.mod
View File

@ -1,7 +1,7 @@
Module { Module {
name: 'V' name: 'V'
description: 'The V programming language.' description: 'The V programming language.'
version: '0.2.1' version: '0.2.2'
license: 'MIT' license: 'MIT'
repo_url: 'https://github.com/vlang/v' repo_url: 'https://github.com/vlang/v'
dependencies: [] dependencies: []

View File

@ -6,7 +6,9 @@ fn test_from_file() {
data := vmod.from_file('./v.mod') or { panic(err) } data := vmod.from_file('./v.mod') or { panic(err) }
assert data.name == 'V' assert data.name == 'V'
assert data.description == 'The V programming language.' assert data.description == 'The V programming language.'
assert data.version == '0.2.1' //assert data.version == '0.2.1'
assert data.version.contains('.')
assert data.version.starts_with('0.')
assert data.dependencies.len == 0 assert data.dependencies.len == 0
} }

View File

@ -10,7 +10,7 @@ import v.vmod
import v.util.recompilation import v.util.recompilation
pub const ( pub const (
v_version = '0.2.1' v_version = '0.2.2'
) )
// math.bits is needed by strconv.ftoa // math.bits is needed by strconv.ftoa