Skip to content

Commit

Permalink
Fix misc. typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dgollahon committed Sep 8, 2020
1 parent 919ecbf commit 0fdf6d3
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile.shared
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ source 'https://oss:[email protected]' do
gem 'mutant-license'
end

# Place for shared git sources, used for developing updates to depedencies
# Place for shared git sources, used for developing updates to dependencies
# where the git sources (without this file) need to be consistently edited
# into multiple Gemfiles.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Mutant supports multiple ruby versions at different levels. The levels arge stag

* Runtime, indicates mutant can execute on a specific Ruby Version / implementation.
* Syntax, depends on Runtime support, and indicates syntax new to that Ruby version can be used.
* Mutations, depends on Syntax support, and indicates syntax new to that Ruby verison is being analysed.
* Mutations, depends on Syntax support, and indicates syntax new to that Ruby version is being analysed.

Supported indicates if a specific Ruby version / Implementation is actively supported. Which means:

Expand Down
2 changes: 1 addition & 1 deletion lib/mutant/isolation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def success?
instance_of?(Success)
end

# Succesful result producing value
# Successful result producing value
class Success < self
include Concord::Public.new(:value, :log)

Expand Down
4 changes: 2 additions & 2 deletions lib/mutant/isolation/fork.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ class Fork < self

ATTRIBUTES = %i[block log_pipe result_pipe world].freeze

# Unsucessful result as child exited nonzero
# Unsuccessful result as child exited nonzero
class ChildError < Result
include Concord::Public.new(:value, :log)
end # ChildError

# Unsucessful result as fork failed
# Unsuccessful result as fork failed
class ForkError < Result
include Equalizer.new
end # ForkError
Expand Down
2 changes: 1 addition & 1 deletion lib/mutant/isolation/none.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Mutant
# Module providing isolation
class Isolation
# Absolutly no isolation
# Absolutely no isolation
#
# Only useful for debugging.
class None < self
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/mutant/isolation/result_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def apply
end
end

context 'on sucess result' do
context 'on success result' do
let(:object) { described_class::Success.new(value) }

it 'returns the empty string' do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
setup_shared_context

describe '.call' do
context 'on sucessful isolation' do
context 'on successful isolation' do
let(:reportable) do
Mutant::Isolation::Result::Success.new(mutation_a_test_result)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/mutant/repository/diff/ranges_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def apply
let(:old) { '' }
let(:new) { '' }

it 'returns emtpy set' do
it 'returns empty set' do
expect(apply).to eql(Set.new)
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/mutant/result/class_methods_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def apply
it { should be(0) }
end

context 'non-emtpy collection' do
context 'non-empty collection' do
let(:collection) { [[1], [2, 3]] }

it { should be(3) }
Expand Down

0 comments on commit 0fdf6d3

Please sign in to comment.