mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 08:22:20 +02:00
test(runner): load validation fixture without release cache input
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
c8ee531371
commit
da14446270
1 file changed
+4
-4
+4
-4
@@ -2,10 +2,10 @@ use super::*;
|
||||
|
||||
#[test]
|
||||
fn api_window_rejection_explains_limits_and_allows_corrected_call() {
|
||||
let contracts: Value = serde_json::from_str(include_str!(
|
||||
"../../../../../generated/capability/semantic-tool-contracts.json"
|
||||
))
|
||||
.unwrap();
|
||||
let contract_path = PathBuf::from(env!("CARGO_MANIFEST_DIR"))
|
||||
.join("../../../generated/capability/semantic-tool-contracts.json");
|
||||
let contracts: Value =
|
||||
serde_json::from_str(&fs::read_to_string(contract_path).unwrap()).unwrap();
|
||||
let contract = contracts
|
||||
.as_array()
|
||||
.unwrap()
|
||||
|
||||
Reference in new issue
Block a user