stringlib

package
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertSimilar

func AssertSimilar(t *testing.T, want string, got string)

AssertSimilar strings by comparing its content after normalization

func Normalize

func Normalize(s string) string

Normalize string breaking lines with \n and removing extra spacing on the beginning and end of strings

func Similar

func Similar(x, y string) bool

Similar compares if two strings are similar after normalization

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL