[git commit master 1/1] tests: fix typo

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sun Nov 21 00:23:16 UTC 2010


commit: http://git.uclibc.org/uClibc++/commit/?id=7efcc107b6bf7a59a85beaf7c7f35da6de0f321e
branch: http://git.uclibc.org/uClibc++/commit/?id=refs/heads/master

s/egining/eginning/

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 tests/algotest.cpp                    |    2 +-
 tests/chartraitstest.cpp              |    8 ++++----
 tests/combotest.cpp                   |    2 +-
 tests/dequetest.cpp                   |    2 +-
 tests/ioexceptiontest.cpp             |    2 +-
 tests/listtest.cpp                    |    2 +-
 tests/maptest.cpp                     |    2 +-
 tests/sstreamtest.cpp                 |    2 +-
 tests/testoutput/algotest.good        |    2 +-
 tests/testoutput/chartraitstest.good  |    2 +-
 tests/testoutput/combotest.good       |    2 +-
 tests/testoutput/dequetest.good       |    2 +-
 tests/testoutput/ioexceptiontest.good |    2 +-
 tests/testoutput/listtest.good        |    2 +-
 tests/testoutput/maptest.good         |    2 +-
 tests/testoutput/sstreamtest.good     |    2 +-
 16 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/tests/algotest.cpp b/tests/algotest.cpp
index 0810c04..cda5919 100644
--- a/tests/algotest.cpp
+++ b/tests/algotest.cpp
@@ -559,7 +559,7 @@ bool checkMinLess(){
 }
 
 int main(){
-	std::cout << "Begining algorithm test" << std::endl;
+	std::cout << "Beginning algorithm test" << std::endl;
 
         TestFramework::init();
 
diff --git a/tests/chartraitstest.cpp b/tests/chartraitstest.cpp
index a289703..155bb70 100644
--- a/tests/chartraitstest.cpp
+++ b/tests/chartraitstest.cpp
@@ -130,21 +130,21 @@ template <class T> void testClass(std::string tname){
 	}
 
 	if(std::char_traits<T>::find(a1, sizeof(a1), 't') == a1){
-		std::cout << "find() properly locates the location of 't' starting at the begining for " << tname << std::endl;
+		std::cout << "find() properly locates the location of 't' starting at the beginning for " << tname << std::endl;
 	}else{
-		std::cout << "find() does not properly locate the location of 't' starting at the begining for " << tname << std::endl;
+		std::cout << "find() does not properly locate the location of 't' starting at the beginning for " << tname << std::endl;
 	}
 
 	if(std::char_traits<T>::find(a1 + 1, sizeof(a1) - 1, 't') == (a1 + 3)){
 		std::cout << "find() properly locates the location of 't' with offset 1 for " << tname << std::endl;
 	}else{
-		std::cout << "find() does not properly locate the location of 't' starting at the begining for " << tname << std::endl;
+		std::cout << "find() does not properly locate the location of 't' starting at the beginning for " << tname << std::endl;
 	}
 
 	if(std::char_traits<T>::find(a1 + 3, sizeof(a1) - 3, 't') == (a1 + 3)){
 		std::cout << "find() properly locates the location of 't' with offset 3 for " << tname << std::endl;
 	}else{
-		std::cout << "find() does not properly locate the location of 't' starting at the begining for " << tname << std::endl;
+		std::cout << "find() does not properly locate the location of 't' starting at the beginning for " << tname << std::endl;
 	}
 
 	if(std::char_traits<T>::find(a1, 0, 't') == 0){
diff --git a/tests/combotest.cpp b/tests/combotest.cpp
index bbe3b03..b921dc4 100644
--- a/tests/combotest.cpp
+++ b/tests/combotest.cpp
@@ -52,7 +52,7 @@ bool canInsertIntoVectorInMap() {
 
 int main() {
 
-	std::cout << "Begining combo tests" << std::endl;
+	std::cout << "Beginning combo tests" << std::endl;
 
         TestFramework::init();
 
diff --git a/tests/dequetest.cpp b/tests/dequetest.cpp
index 8194dd6..85bd79a 100644
--- a/tests/dequetest.cpp
+++ b/tests/dequetest.cpp
@@ -210,7 +210,7 @@ int main(){
 	}
 	std::cout << std::endl;
 
-	std::cout << "\nErase near begining:" << std::endl;
+	std::cout << "\nErase near beginning:" << std::endl;
 	std::cout << "The following two lines should be identical\n";
 	std::cout << "22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 12 27 13 14 \n";
 	i = test.begin();
diff --git a/tests/ioexceptiontest.cpp b/tests/ioexceptiontest.cpp
index 5f93a15..3beaedb 100644
--- a/tests/ioexceptiontest.cpp
+++ b/tests/ioexceptiontest.cpp
@@ -29,7 +29,7 @@ void no_found_throws(){
 }
 
 int main(){
-	std::cout << "Begining ioexception test" << std::endl;
+	std::cout << "Beginning ioexception test" << std::endl;
 
 	TestFramework::init();
 
diff --git a/tests/listtest.cpp b/tests/listtest.cpp
index 93d126f..c8aa0dd 100644
--- a/tests/listtest.cpp
+++ b/tests/listtest.cpp
@@ -36,7 +36,7 @@ int main(){
 	std::list<int>::iterator list_iter_2;
 
 
-	test = "Begining of list test";
+	test = "Beginning of list test";
 
 	std::cout << test << std::endl;
 	for(i = temp.begin(); i!=temp.end(); i++){
diff --git a/tests/maptest.cpp b/tests/maptest.cpp
index 290c6dc..30177f6 100644
--- a/tests/maptest.cpp
+++ b/tests/maptest.cpp
@@ -334,7 +334,7 @@ int main(){
 	std::cout << "m_2 is now " << m_2->second << std::endl;
 	std::cout << "m_3 is now " << m_3->second << std::endl;
 
-        std::cout << "Begining map test" << std::endl;
+        std::cout << "Beginning map test" << std::endl;
 
         TestFramework::init();
 	
diff --git a/tests/sstreamtest.cpp b/tests/sstreamtest.cpp
index 80451ba..26c9532 100644
--- a/tests/sstreamtest.cpp
+++ b/tests/sstreamtest.cpp
@@ -2,7 +2,7 @@
 #include <sstream>
 
 int main(){
-	std::cout << "Begining sstream test\n";
+	std::cout << "Beginning sstream test\n";
 	
 	std::stringstream a;
 	float f;
diff --git a/tests/testoutput/algotest.good b/tests/testoutput/algotest.good
index 707ad41..53f2bb5 100644
--- a/tests/testoutput/algotest.good
+++ b/tests/testoutput/algotest.good
@@ -1,4 +1,4 @@
-Begining algorithm test
+Beginning algorithm test
 ..............
 ------------------------------
 Ran 14 tests
diff --git a/tests/testoutput/chartraitstest.good b/tests/testoutput/chartraitstest.good
index b3b1165..94432cb 100644
--- a/tests/testoutput/chartraitstest.good
+++ b/tests/testoutput/chartraitstest.good
@@ -14,7 +14,7 @@ compare() properly compares different sized identical strings for char
 length() properly computes length of 'test' for char
 length() properly computes length of '' for char
 length() properly computes length of 'a0b1c2' for char
-find() properly locates the location of 't' starting at the begining for char
+find() properly locates the location of 't' starting at the beginning for char
 find() properly locates the location of 't' with offset 1 for char
 find() properly locates the location of 't' with offset 3 for char
 find() properly returns NULL in 0-sized searches for char
diff --git a/tests/testoutput/combotest.good b/tests/testoutput/combotest.good
index 4572a60..000b73c 100644
--- a/tests/testoutput/combotest.good
+++ b/tests/testoutput/combotest.good
@@ -1,4 +1,4 @@
-Begining combo tests
+Beginning combo tests
 .
 ------------------------------
 Ran 1 tests
diff --git a/tests/testoutput/dequetest.good b/tests/testoutput/dequetest.good
index 363ee84..87cf141 100644
--- a/tests/testoutput/dequetest.good
+++ b/tests/testoutput/dequetest.good
@@ -73,7 +73,7 @@ The following two lines should be identical
 22 21 25 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 12 27 13 14 
 22 21 25 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 12 27 13 14 
 
-Erase near begining:
+Erase near beginning:
 The following two lines should be identical
 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 12 27 13 14 
 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 12 27 13 14 
diff --git a/tests/testoutput/ioexceptiontest.good b/tests/testoutput/ioexceptiontest.good
index 4ddd31a..04910b1 100644
--- a/tests/testoutput/ioexceptiontest.good
+++ b/tests/testoutput/ioexceptiontest.good
@@ -1,4 +1,4 @@
-Begining ioexception test
+Beginning ioexception test
 ..
 ------------------------------
 Ran 2 tests
diff --git a/tests/testoutput/listtest.good b/tests/testoutput/listtest.good
index 99a7f26..f830dc8 100644
--- a/tests/testoutput/listtest.good
+++ b/tests/testoutput/listtest.good
@@ -1,4 +1,4 @@
-Begining of list test
+Beginning of list test
 i: 12
 i: 12
 i: 12
diff --git a/tests/testoutput/maptest.good b/tests/testoutput/maptest.good
index 9a81f94..46d6fe8 100644
--- a/tests/testoutput/maptest.good
+++ b/tests/testoutput/maptest.good
@@ -62,7 +62,7 @@ m_2 is two
 m_3 is three
 m_2 is now two
 m_3 is now three
-Begining map test
+Beginning map test
 ....
 ------------------------------
 Ran 4 tests
diff --git a/tests/testoutput/sstreamtest.good b/tests/testoutput/sstreamtest.good
index fc864ba..6b35e8b 100644
--- a/tests/testoutput/sstreamtest.good
+++ b/tests/testoutput/sstreamtest.good
@@ -1,4 +1,4 @@
-Begining sstream test
+Beginning sstream test
 Starting testing 2 2
 Character getted: a
 Character getted: b
-- 
1.7.2.2



More information about the uClibc-cvs mailing list