Skip to content

Commit 949b53d

Browse files
More spelling fixes
1 parent 8433513 commit 949b53d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/diagnostic.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl DiagnosticHandler {
166166

167167
#[cfg(test)]
168168
mod tests {
169-
use crate::{serialize::tests::create_calyx_go_down_transaction, typecheck::*};
169+
use crate::{serialize::tests::create_calyx_go_done_transaction, typecheck::*};
170170

171171
use super::*;
172172
use baa::BitVecValue;
@@ -197,9 +197,9 @@ mod tests {
197197
}
198198

199199
#[test]
200-
fn serialize_calyx_go_down_transaction() {
200+
fn serialize_calyx_go_done_transaction() {
201201
let mut handler = DiagnosticHandler::new();
202-
let (calyx_go_done, symbols) = create_calyx_go_down_transaction(&mut handler);
202+
let (calyx_go_done, symbols) = create_calyx_go_done_transaction(&mut handler);
203203
type_check(&calyx_go_done, &symbols, &mut handler);
204204
}
205205
}

src/typecheck.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ pub fn type_check(tr: &Transaction, st: &SymbolTable, handler: &mut DiagnosticHa
189189

190190
#[cfg(test)]
191191
mod tests {
192-
use crate::serialize::tests::{create_add_transaction, create_calyx_go_down_transaction};
192+
use crate::serialize::tests::{create_add_transaction, create_calyx_go_done_transaction};
193193
use baa::BitVecValue;
194194

195195
use super::*;
@@ -204,7 +204,7 @@ mod tests {
204204
#[test]
205205
fn typecheck_calyx_go_down_transaction() {
206206
let mut handler = DiagnosticHandler::new();
207-
let (calyx_go_done, symbols) = create_calyx_go_down_transaction(&mut handler);
207+
let (calyx_go_done, symbols) = create_calyx_go_done_transaction(&mut handler);
208208
type_check(&calyx_go_done, &symbols, &mut handler);
209209
}
210210

0 commit comments

Comments
 (0)