Skip to content

Commit 45b06c2

Browse files
Remove misplaced cleanup_answers in analyze steps
1 parent 9583fa4 commit 45b06c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

rust/tests/behaviour/steps/analyze.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,12 @@ pub(crate) async fn run_analyze_query(
3939
#[apply(generic_step)]
4040
#[step(expr = r"get answers of typeql analyze query")]
4141
pub async fn get_answers_of_typeql_analyze_query(context: &mut Context, step: &Step) {
42-
context.cleanup_answers().await;
4342
context.set_analyzed(run_analyze_query(context.transaction(), step.docstring().unwrap()).await).unwrap();
4443
}
4544

4645
#[apply(generic_step)]
4746
#[step(expr = r"typeql analyze query{may_error}")]
4847
async fn typeql_analyze_query_may_error(context: &mut Context, may_error: params::MayError, step: &Step) {
49-
context.cleanup_answers().await;
5048
let result = run_analyze_query(context.transaction(), step.docstring().unwrap()).await;
5149
may_error.check(result);
5250
}

0 commit comments

Comments
 (0)