浏览代码

Update test

Cesar Rodas 1 月之前
父节点
当前提交
378c02ceb0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      crates/cdk-integration-tests/tests/integration_tests_pure.rs

+ 1 - 0
crates/cdk-integration-tests/tests/integration_tests_pure.rs

@@ -339,6 +339,7 @@ async fn test_attempt_to_swap_by_overflowing() {
             cdk::Error::NUT03(cdk::nuts::nut03::Error::Amount(_)) => (),
             cdk::Error::AmountOverflow => (),
             cdk::Error::AmountError(_) => (),
+            cdk::Error::TransactionUnbalanced(_, _, _) => (),
             _ => {
                 panic!("Wrong error returned in swap overflow {:?}", err);
             }