1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
This commit is contained in:
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 {
name: 'V'
description: 'The V programming language.'
version: '0.2.1'
version: '0.2.2'
license: 'MIT'
repo_url: 'https://github.com/vlang/v'
dependencies: []

View File

@ -6,7 +6,9 @@ fn test_from_file() {
data := vmod.from_file('./v.mod') or { panic(err) }
assert data.name == 'V'
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
}

View File

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