Skip to content

Commit

Permalink
Remove ViperitError enum from testing coverage, remove unused functio…
Browse files Browse the repository at this point in the history
…n in String+ (#18)
  • Loading branch information
ferranabello committed Mar 20, 2017
1 parent 85f7ff3 commit 820b985
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Viperit/Core/ViperitError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Foundation

internal enum ViperitError : Error {
enum ViperitError : Error {
case methodNotImplemented

var description: String {
Expand Down
3 changes: 0 additions & 3 deletions Viperit/Extensions/String+.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ extension String {
var first: String {
return String(characters.prefix(1))
}
var last: String {
return String(characters.suffix(1))
}
var uppercasedFirst: String {
return first.uppercased() + String(characters.dropFirst())
}
Expand Down
1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
coverage:
ignore:
- Viperit/Core/ViperitError.swift
- ViperitTests/*
- ViperitTests/Sample/*

0 comments on commit 820b985

Please sign in to comment.