parent
43d56cb883
commit
46cdf4f1ff
2
v.mod
2
v.mod
|
@ -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: []
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue