[compiler-rt] r348683 - Fix a typo in the strtoi test

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 7 20:46:16 PST 2018


Author: kamil
Date: Fri Dec  7 20:46:15 2018
New Revision: 348683

URL: http://llvm.org/viewvc/llvm-project?rev=348683&view=rev
Log:
Fix a typo in the strtoi test

https://reviews.llvm.org/D54702

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/strtoi.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/strtoi.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/strtoi.cc?rev=348683&r1=348682&r2=348683&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/strtoi.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/strtoi.cc Fri Dec  7 20:46:15 2018
@@ -34,10 +34,10 @@ int main(void) {
   // CHECK: strtoi
   // CHECK: strtoi: conversion of '100' to a number successful, using 100, p=0
   // CHECK: strtoi: conversion of '100' to a number failed, using 10, p=0
-  // CHECK: strtoi: conversion of '100xyz' to a number failed, using 10, p=0x78
+  // CHECK: strtoi: conversion of '100xyz' to a number failed, using 100, p=0x78
   // CHECK: strtou: conversion of '100' to a number successful, using 100, p=0
   // CHECK: strtou: conversion of '100' to a number failed, using 10, p=0
-  // CHECK: strtou: conversion of '100xyz' to a number failed, using 10, p=0x78
+  // CHECK: strtou: conversion of '100xyz' to a number failed, using 100, p=0x78
 
   return 0;
 }




More information about the llvm-commits mailing list