test

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CharacterDiff

func CharacterDiff(a, b string) string

CharacterDiff returns an inline diff between the two strings, using (++added++) and (~~deleted~~) markup.

func StringEqual

func StringEqual(t *testing.T, expected, actual string)

Types

type Case

type Case struct {
	Name     string
	Data     interface{}
	Expected string `php:"-" json:"-"`
}

func (Case) WrappedExpected

func (tc Case) WrappedExpected() string

type User

type User struct {
	ID   uint64 `php:"id" json:"id"`
	Name string `php:"name" json:"name"`
}

Jump to

Keyboard shortcuts

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