Skip to content

Commit

Permalink
update test cases to use the exact test case from the original issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ytmimi committed Nov 4, 2024
1 parent 7dac153 commit b146c63
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 44 deletions.
24 changes: 24 additions & 0 deletions tests/source/issue-6333.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// rustfmt-edition: 2021
// rustfmt-max_width: 125
pub use ::dafny_runtime::Sequence;
pub use ::std::rc::Rc;
pub use crate::r#_StructuredEncryptionUtil_Compile::CanonCryptoItem;
pub use ::dafny_runtime::itertools::Itertools;
pub use crate::software::amazon::cryptography::dbencryptionsdk::structuredencryption::internaldafny::types::CryptoAction;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::EncryptedDataKey;
pub use ::dafny_runtime::Object;
pub use crate::software::amazon::cryptography::primitives::internaldafny::types::IAwsCryptographicPrimitivesClient;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::AlgorithmSuiteInfo;
pub use ::dafny_runtime::DafnyCharUTF16;
pub use crate::r#_StructuredEncryptionUtil_Compile::MessageID;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::EncryptionMaterials;
pub use crate::r#_Wrappers_Compile::Outcome;
pub use ::dafny_runtime::string_utf16_of;
pub use ::dafny_runtime::int;
pub use ::dafny_runtime::MapBuilder;
pub use ::dafny_runtime::_System::nat;
pub use crate::software::amazon::cryptography::primitives::internaldafny::types::HMacInput;
pub use ::dafny_runtime::rd;
pub use ::dafny_runtime::truncate;
pub use ::dafny_runtime::DafnyTypeEq;
pub use ::dafny_runtime::DafnyType;
45 changes: 23 additions & 22 deletions tests/target/issue-6333-2024.rs
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
// rustfmt-style_edition: 2024
pub use crate::r#_StructUtil_Compile::CanonCryptoItem;
pub use crate::r#_StructUtil_Compile::MessageID;
// rustfmt-edition: 2024
// rustfmt-max_width: 125
pub use crate::r#_StructuredEncryptionUtil_Compile::CanonCryptoItem;
pub use crate::r#_StructuredEncryptionUtil_Compile::MessageID;
pub use crate::r#_Wrappers_Compile::Outcome;
pub use crate::software::amazon::crypt::dbencryptionsdk::stct::internaldafny::types::Action;
pub use crate::software::amazon::crypt::mat::internaldafny::types::AlgorithmSuiteInfo;
pub use crate::software::amazon::crypt::mat::internaldafny::types::EncryptedDataKey;
pub use crate::software::amazon::crypt::mat::internaldafny::types::EncryptionMaterials;
pub use crate::software::amazon::crypt::primitives::internaldafny::types::HMacInput;
pub use crate::software::amazon::crypt::primitives::internaldafny::types::IAwsPrimClient;
pub use dafny_runtime::_System::nat;
pub use dafny_runtime::DafnyCharUTF16;
pub use dafny_runtime::DafnyType;
pub use dafny_runtime::DafnyTypeEq;
pub use dafny_runtime::MapBuilder;
pub use dafny_runtime::Object;
pub use dafny_runtime::Sequence;
pub use dafny_runtime::int;
pub use dafny_runtime::itertools::Itertools;
pub use dafny_runtime::rd;
pub use dafny_runtime::string_utf16_of;
pub use dafny_runtime::truncate;
pub use std::rc::Rc;
pub use crate::software::amazon::cryptography::dbencryptionsdk::structuredencryption::internaldafny::types::CryptoAction;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::AlgorithmSuiteInfo;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::EncryptedDataKey;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::EncryptionMaterials;
pub use crate::software::amazon::cryptography::primitives::internaldafny::types::HMacInput;
pub use crate::software::amazon::cryptography::primitives::internaldafny::types::IAwsCryptographicPrimitivesClient;
pub use ::dafny_runtime::_System::nat;
pub use ::dafny_runtime::DafnyCharUTF16;
pub use ::dafny_runtime::DafnyType;
pub use ::dafny_runtime::DafnyTypeEq;
pub use ::dafny_runtime::MapBuilder;
pub use ::dafny_runtime::Object;
pub use ::dafny_runtime::Sequence;
pub use ::dafny_runtime::int;
pub use ::dafny_runtime::itertools::Itertools;
pub use ::dafny_runtime::rd;
pub use ::dafny_runtime::string_utf16_of;
pub use ::dafny_runtime::truncate;
pub use ::std::rc::Rc;
45 changes: 23 additions & 22 deletions tests/target/issue-6333.rs
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
// rustfmt-style_edition: 2015
pub use crate::r#_StructUtil_Compile::CanonCryptoItem;
pub use crate::r#_StructUtil_Compile::MessageID;
// rustfmt-edition: 2021
// rustfmt-max_width: 125
pub use crate::r#_StructuredEncryptionUtil_Compile::CanonCryptoItem;
pub use crate::r#_StructuredEncryptionUtil_Compile::MessageID;
pub use crate::r#_Wrappers_Compile::Outcome;
pub use crate::software::amazon::crypt::dbencryptionsdk::stct::internaldafny::types::Action;
pub use crate::software::amazon::crypt::mat::internaldafny::types::AlgorithmSuiteInfo;
pub use crate::software::amazon::crypt::mat::internaldafny::types::EncryptedDataKey;
pub use crate::software::amazon::crypt::mat::internaldafny::types::EncryptionMaterials;
pub use crate::software::amazon::crypt::primitives::internaldafny::types::HMacInput;
pub use crate::software::amazon::crypt::primitives::internaldafny::types::IAwsPrimClient;
pub use dafny_runtime::_System::nat;
pub use dafny_runtime::int;
pub use dafny_runtime::itertools::Itertools;
pub use dafny_runtime::rd;
pub use dafny_runtime::string_utf16_of;
pub use dafny_runtime::truncate;
pub use dafny_runtime::DafnyCharUTF16;
pub use dafny_runtime::DafnyType;
pub use dafny_runtime::DafnyTypeEq;
pub use dafny_runtime::MapBuilder;
pub use dafny_runtime::Object;
pub use dafny_runtime::Sequence;
pub use std::rc::Rc;
pub use crate::software::amazon::cryptography::dbencryptionsdk::structuredencryption::internaldafny::types::CryptoAction;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::AlgorithmSuiteInfo;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::EncryptedDataKey;
pub use crate::software::amazon::cryptography::materialproviders::internaldafny::types::EncryptionMaterials;
pub use crate::software::amazon::cryptography::primitives::internaldafny::types::HMacInput;
pub use crate::software::amazon::cryptography::primitives::internaldafny::types::IAwsCryptographicPrimitivesClient;
pub use ::dafny_runtime::_System::nat;
pub use ::dafny_runtime::int;
pub use ::dafny_runtime::itertools::Itertools;
pub use ::dafny_runtime::rd;
pub use ::dafny_runtime::string_utf16_of;
pub use ::dafny_runtime::truncate;
pub use ::dafny_runtime::DafnyCharUTF16;
pub use ::dafny_runtime::DafnyType;
pub use ::dafny_runtime::DafnyTypeEq;
pub use ::dafny_runtime::MapBuilder;
pub use ::dafny_runtime::Object;
pub use ::dafny_runtime::Sequence;
pub use ::std::rc::Rc;

0 comments on commit b146c63

Please sign in to comment.