Skip to content

Commit d36e0f4

Browse files
committed
Updated tests
1 parent b2702de commit d36e0f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/inline_sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var once *sync.Once
3737

3838
func small7() { // ERROR "can inline small7"
3939
// the Do fast path should be inlined
40-
once.Do(small5) // ERROR "inlining call to sync\.\(\*Once\)\.Do" "inlining call to atomic\.\(\*Uint32\)\.Load"
40+
once.Do(small5) // ERROR "inlining call to sync\.\(\*Once\)\.Do" "inlining call to atomic\.\(\*Bool\)\.Load"
4141
}
4242

4343
var rwmutex *sync.RWMutex

0 commit comments

Comments
 (0)