Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IGI-111 committed Aug 2, 2023
1 parent d907a68 commit 72b4961
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"typeArguments": null
},
"name": "C0",
"offset": 4180
"offset": 4212
},
{
"configurableType": {
Expand All @@ -16,7 +16,7 @@
"typeArguments": null
},
"name": "C1",
"offset": 4188
"offset": 4220
},
{
"configurableType": {
Expand All @@ -25,7 +25,7 @@
"typeArguments": null
},
"name": "C2",
"offset": 4204
"offset": 4236
},
{
"configurableType": {
Expand All @@ -34,7 +34,7 @@
"typeArguments": []
},
"name": "C3",
"offset": 4236
"offset": 4268
},
{
"configurableType": {
Expand All @@ -43,7 +43,7 @@
"typeArguments": []
},
"name": "C4",
"offset": 4252
"offset": 4284
},
{
"configurableType": {
Expand All @@ -52,7 +52,7 @@
"typeArguments": []
},
"name": "C5",
"offset": 4268
"offset": 4300
},
{
"configurableType": {
Expand All @@ -61,7 +61,7 @@
"typeArguments": null
},
"name": "C6",
"offset": 4284
"offset": 4316
},
{
"configurableType": {
Expand All @@ -70,7 +70,7 @@
"typeArguments": null
},
"name": "C7",
"offset": 4300
"offset": 4332
},
{
"configurableType": {
Expand All @@ -79,7 +79,7 @@
"typeArguments": null
},
"name": "C9",
"offset": 4348
"offset": 4380
}
],
"functions": [
Expand Down
5 changes: 5 additions & 0 deletions test/src/sdk-harness/Forc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,11 @@ name = 'test_contract'
source = 'member'
dependencies = ['std']

[[package]]
name = 'test_script'
source = 'member'
dependencies = ['std']

[[package]]
name = 'test_script_bytes'
source = 'member'
Expand Down
1 change: 1 addition & 0 deletions test/src/sdk-harness/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ members = [
"test_projects/hashing",
"test_projects/logging",
"test_projects/low_level_call",
"test_projects/low_level_call_bytes",
"test_projects/messages",
"test_projects/option_field_order",
"test_projects/option_in_abi",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ source = 'path+from-root-C9E1B0494AB5FDF1'
dependencies = ['core']

[[package]]
name = 'test_script_bytes'
name = 'test_script'
source = 'member'
dependencies = ['std']
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Fuel Labs <contact@fuel.sh>"]
entry = "main.sw"
license = "Apache-2.0"
name = "test_script_bytes"
name = "test_script"

[dependencies]
std = { path = "../../../../../sway-lib-std" }
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ source = 'path+from-root-C9E1B0494AB5FDF1'
dependencies = ['core']

[[package]]
name = 'test_script'
name = 'test_script_bytes'
source = 'member'
dependencies = ['std']
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Fuel Labs <contact@fuel.sh>"]
entry = "main.sw"
license = "Apache-2.0"
name = "test_script"
name = "test_script_bytes"

[dependencies]
std = { path = "../../../../../sway-lib-std" }
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ abigen!(
),
Script(
name = "TestScript",
abi = "test_projects/low_level_call_bytes/out/debug/test_script-abi.json"
abi = "test_projects/low_level_call_bytes/out/debug/test_script_bytes-abi.json"
)
);

Expand Down

0 comments on commit 72b4961

Please sign in to comment.