diff --git a/Cargo.toml b/Cargo.toml index d6b459c..3b30f6a 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,11 +48,11 @@ chrono = "0.4.19" # Used for RNG rand = "0.8.5" rand_pcg = "0.3.1" -hashbrown = "0.12.1" +hashbrown = "0.13.1" indexmap = "1.8.2" parking_lot = "0.12.1" serde = { version = "1.0.137", optional = true, features = ["derive"] } -wasmer = { version = "3.0.0-beta", optional = true, default-features = true } +wasmer = { version = "3.0.1", optional = true, default-features = true } uuid = "1.2.2" paste = { version = "1.0.8" } arcstr = { version = "1.1.4", features = ["std"] } @@ -62,7 +62,7 @@ enum-display-derive = "0.1.1" csv = "1.1.6" project-root = "0.2.2" datatest = "0.7.1" -serde_yaml = "0.8.24" +serde_yaml = "0.9.14" serde_json = "1.0.81" serde_plain = "1.0.0" # Allow us to assert whether floats are approximately a value diff --git a/tests/test_cases/basic_single_turn.yaml b/tests/test_cases/basic_single_turn.yaml index a7f794b..25b2ab8 100755 --- a/tests/test_cases/basic_single_turn.yaml +++ b/tests/test_cases/basic_single_turn.yaml @@ -20,25 +20,25 @@ battle_setup: moves: - vine_whip actions: - - set_pokemon: - place: [ 0, 0 ] - from_party: [ 0 ,0 ] - - set_pokemon: - place: [ 1, 0 ] - from_party: [ 1 ,0 ] - - assert: - value: - pokemon_health: - index: [ 1, 0 ] - expected: 140 - - set_move_choice: - for: [ 0, 0 ] - move: ember - target: [ 1, 0 ] - - set_pass_choice: - for: [ 1, 0 ] - - assert: - value: - pokemon_health: - index: [ 1, 0 ] - expected: 78 \ No newline at end of file + - !set_pokemon + place: [ 0, 0 ] + from_party: [ 0 ,0 ] + - !set_pokemon + place: [ 1, 0 ] + from_party: [ 1 ,0 ] + - !assert + value: + !pokemon_health + index: [ 1, 0 ] + expected: 140 + - !set_move_choice + for: [ 0, 0 ] + move: ember + target: [ 1, 0 ] + - !set_pass_choice + for: [ 1, 0 ] + - !assert + value: + !pokemon_health + index: [ 1, 0 ] + expected: 78 \ No newline at end of file