Skip to content

Commit

Permalink
Add cairo-test-asserts plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
maciektr committed Jun 24, 2024
1 parent 4e94529 commit 2118b97
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 55 deletions.
60 changes: 30 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,29 @@ anyhow = "1"
assert_fs = "1"
async-trait = "0.1"
axum = { version = "0.6", features = ["http2"] }
cairo-lang-casm = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-compiler = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-debug = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-defs = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-diagnostics = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-filesystem = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-formatter = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-language-server = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-lowering = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-parser = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-project = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-runner = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-semantic = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-sierra = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-sierra-generator = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-sierra-to-casm = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-sierra-type-size = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-starknet-classes = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-syntax = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-test-plugin = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-test-runner = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6" }
cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo", rev = "4674a81dc7986195b59e10786cef63f0cd9b73d6", features = ["env_logger"] }
cairo-lang-casm = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-compiler = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-debug = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-defs = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-diagnostics = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-filesystem = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-formatter = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-language-server = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-lowering = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-parser = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-project = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-runner = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-semantic = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-sierra = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-sierra-generator = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-sierra-to-casm = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-sierra-type-size = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-starknet-classes = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-syntax = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-test-plugin = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-test-runner = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca" }
cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo", rev = "4c43ba3bf0cfc5debc6e63939fa24992846197ca", features = ["env_logger"] }
camino = { version = "1", features = ["serde1"] }
cargo_metadata = ">=0.18"
clap = { version = "4", features = ["derive", "env", "string"] }
Expand Down
8 changes: 8 additions & 0 deletions scarb/scarblib/cairo_test_asserts/Scarb.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "cairo_test_asserts"
version = "0.1.0"

no-core = true

[cairo-plugin]
builtin = true
Loading

0 comments on commit 2118b97

Please sign in to comment.