Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
61cd5bce27 | ||
|
|
79d32d1f9b | ||
|
|
e148525041 |
@@ -783,7 +783,7 @@ func _run() -> void:
|
||||
var W = load("res://whatsnew.gd")
|
||||
ok(W.pending("1.0.61", "1.0.62").map(func(c): return c[0]) == ["1.0.62"], "що нового: лише версії після побаченої")
|
||||
ok(W.pending("1.0.62", "1.0.62").is_empty() and W.pending("1.0.200", "1.0.300").is_empty(), "що нового: нічого нового — без вікна")
|
||||
ok(W.pending("1.0.9", "1.0.10").is_empty() and W.pending("1.0.58", "1.0.59").size() == 4, "що нового: версії порівнюються числами")
|
||||
ok(W.pending("1.0.9", "1.0.10").is_empty() and W.pending("1.0.58", "1.0.59").size() == 4 and W._v("1.1.0") > W._v("1.0.99"), "що нового: версії порівнюються числами")
|
||||
ok(W.pending("", "9.0.0").size() == mini(W.MAX_ITEMS, W.CHANGES.size()), "що нового: без позначки — останні пункти")
|
||||
var wsorted := true
|
||||
for i in W.CHANGES.size():
|
||||
|
||||
@@ -14,7 +14,8 @@ func _initialize() -> void:
|
||||
func _run() -> void:
|
||||
var bad := 0
|
||||
for c in [["v1.0.4", "1.0.3", true], ["v1.0.10", "1.0.9", true], ["v1.0.3", "1.0.3", false],
|
||||
["v1.0.2", "1.0.3", false], ["v2.0", "1.9.9", true], ["v1.0.3.1", "1.0.3", true]]:
|
||||
["v1.0.2", "1.0.3", false], ["v2.0", "1.9.9", true], ["v1.0.3.1", "1.0.3", true],
|
||||
["v1.1.0", "1.0.99", true], ["v1.0.100", "1.0.99", true], ["v1.0.99", "1.1.0", false]]:
|
||||
if U.newer(c[0], c[1]) != c[2]:
|
||||
print("FAIL newer", c)
|
||||
bad += 1
|
||||
|
||||
@@ -1 +1 @@
|
||||
62edba5640db26c21132ea522dcb417c1a9cae6506eb57082efe1e1cd8393ecb
|
||||
2af54dd23e6242de9ce1ada61d9ea13c4cf58dc4b9daf5d936e18dbb245aecdd
|
||||
|
||||
@@ -26,9 +26,10 @@ minizip = "no"
|
||||
brotli = "no"
|
||||
graphite = "no"
|
||||
# engine classes the game never uses (2D nodes, animation, extra GUI and audio): template.gdbuild, passed in build_template.sh
|
||||
# GDScript, fonts (FreeType + HarfBuzz shaping), SVG for the default theme icons, mbedTLS for HTTPS in the updater
|
||||
# GDScript, fonts (FreeType + HarfBuzz shaping), SVG for the default theme icons, mbedTLS for HTTPS in the updater, RegEx for the glossary
|
||||
module_gdscript_enabled = "yes"
|
||||
module_freetype_enabled = "yes"
|
||||
module_text_server_adv_enabled = "yes"
|
||||
module_svg_enabled = "yes"
|
||||
module_mbedtls_enabled = "yes"
|
||||
module_regex_enabled = "yes"
|
||||
|
||||
Reference in New Issue
Block a user