File: fix-spelling.patch

package info (click to toggle)
libtest-inline-perl 2.213-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 444 kB
  • ctags: 265
  • sloc: perl: 3,241; makefile: 2
file content (76 lines) | stat: -rw-r--r-- 3,279 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Description: Fix some spelling errors
Author: Jonas Genannt <jonas.genannt@capi2name.de>
Forwarded: yes
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=87898

diff --git a/lib/Test/Inline.pm b/lib/Test/Inline.pm
index f101f00..99ea86f 100644
--- a/lib/Test/Inline.pm
+++ b/lib/Test/Inline.pm
@@ -36,7 +36,7 @@ following.
 
 You can add as many, or as few, of these chunks of tests as you wish.
 The key condition when writing them is that they should be logically
-independant of each other. Each chunk of testing code should not die
+independent of each other. Each chunk of testing code should not die
 or crash if it is run before or after another chunk.
 
 Using L<inline2test> or another test compiler, you can then transform
@@ -63,7 +63,7 @@ based on the test failures, you can correct your assumption.
 
 It's also extremely useful for systematically testing self-contained code.
 
-That is, any code which can be independantly tested without the need for
+That is, any code which can be independent tested without the need for
 external systems such as databases, and that has no side-effects on external
 systems.
 
@@ -176,7 +176,7 @@ debugging information to STDOUT as it runs.
 
 B<manifest> - The C<manifest> option, if provided, will cause a manifest
 file to be created and written to disk. The manifest file contains a list
-of all the test files generated, but listed in the prefered order they
+of all the test files generated, but listed in the preferred order they
 should be processed to best satisfy the class-level dependency of the
 tests.
 
@@ -771,7 +771,7 @@ sub _source {
 			return $self->InputHandler->read(shift);
 		} elsif ( $self->InputHandler->exists_dir($_[0]) ) {
 			# Directory path
-			return shift; # Handled seperately
+			return shift; # Handled separately
 		}
 		return undef;
 	}
diff --git a/lib/Test/Inline/Section.pm b/lib/Test/Inline/Section.pm
index 784dd34..603c244 100644
--- a/lib/Test/Inline/Section.pm
+++ b/lib/Test/Inline/Section.pm
@@ -54,7 +54,7 @@ are considered low priority, and we be run, in order of appearance, AFTER all
 named tests have been run.
 
 Any and all arguments used after "testing" must be in the form of simple
-space seperated words. The first word is considered the "name" of the test.
+space separated words. The first word is considered the "name" of the test.
 The intended use for these is generally to create one named test section for 
 each function or method, but you can name them as you please. Test names 
 B<must> be unique, and B<are> case sensitive.
@@ -142,7 +142,7 @@ sub new {
 	# Split into lines
 	my @lines = split /(?:\015{1,2}\012|\015|\012)/, $pod;
 
-	# Handle =for example seperately
+	# Handle =for example separately
 	if ( $pod =~ /^$RE_example\b/ ) {
 		return $class->_example( \@lines, $context );
 	}
@@ -349,7 +349,7 @@ sub _trim_empty_lines {
 
 Since version 1.50 L<Test::Inline> has been extracting package statements
 so that as the sections are extracted, we can determine which sections
-belong to which packages, and seperate them accordingly.
+belong to which packages, and separate them accordingly.
 
 The C<parse> method takes B<all> of the elements from a file, and returns
 all of the Sections. By doing it here, we can track the package context