sync: fix typo on atomic_test.v (#22168)

This commit is contained in:
Ikko Eltociear Ashimine 2024-09-07 01:50:15 +09:00 committed by GitHub
parent ae9456adc6
commit e1847cac9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ mut:
counter u64
}
// without proper syncronization this would fail
// without proper synchronization this would fail
fn test_count_10_times_1_cycle_should_result_10_cycles_with_sync() {
desired_iterations := 10 * iterations_per_cycle
mut wg := sync.new_waitgroup()