mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 14:23:33 +00:00
Reenable core:encoding/ini tests
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#+feature dynamic-literals
|
||||
package test_core_ini
|
||||
|
||||
import "base:runtime"
|
||||
import "core:encoding/ini"
|
||||
import "core:mem/virtual"
|
||||
import "core:strings"
|
||||
import "core:testing"
|
||||
|
||||
@@ -64,7 +63,7 @@ ini_to_string :: proc(t: ^testing.T) {
|
||||
|
||||
testing.expectf(
|
||||
t,
|
||||
strings.contains(str, "[LEVEL]LOG = debug"),
|
||||
strings.contains(str, "[LEVEL]\nLOG = debug"),
|
||||
"Expected `ini.save_map_to_string` to return a string equal to \"[LEVEL]LOG = debug\", got %v",
|
||||
str,
|
||||
)
|
||||
|
||||
@@ -18,6 +18,7 @@ download_assets :: proc "contextless" () {
|
||||
@(require) import "encoding/cbor"
|
||||
@(require) import "encoding/hex"
|
||||
@(require) import "encoding/hxa"
|
||||
@(require) import "encoding/ini"
|
||||
@(require) import "encoding/json"
|
||||
@(require) import "encoding/uuid"
|
||||
@(require) import "encoding/varint"
|
||||
|
||||
Reference in New Issue
Block a user