When the tested value is a string, it asserts that the given string val is a substring of the target.
When the tested value is an array, it asserts that the given val is inside the tested value.
Works with:
- expect(
*[]
).[to].[be].contain(*
) - expect(
byte[]
).[to].[be].contain(byte[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(byte
) - expect(
byte[]
).[to].[be].contain(ubyte[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(ubyte
) - expect(
byte[]
).[to].[be].contain(short[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(short
) - expect(
byte[]
).[to].[be].contain(ushort[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(ushort
) - expect(
byte[]
).[to].[be].contain(int[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(int
) - expect(
byte[]
).[to].[be].contain(uint[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(uint
) - expect(
byte[]
).[to].[be].contain(long[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(long
) - expect(
byte[]
).[to].[be].contain(ulong[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(ulong
) - expect(
byte[]
).[to].[be].contain(float[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(float
) - expect(
byte[]
).[to].[be].contain(double[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(double
) - expect(
byte[]
).[to].[be].contain(real[]
) - expect(
byte[]
).[to].[be].contain(void[]
) - expect(
byte[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
ubyte[]
).[to].[be].contain(byte[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(byte
) - expect(
ubyte[]
).[to].[be].contain(ubyte[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(ubyte
) - expect(
ubyte[]
).[to].[be].contain(short[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(short
) - expect(
ubyte[]
).[to].[be].contain(ushort[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(ushort
) - expect(
ubyte[]
).[to].[be].contain(int[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(int
) - expect(
ubyte[]
).[to].[be].contain(uint[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(uint
) - expect(
ubyte[]
).[to].[be].contain(long[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(long
) - expect(
ubyte[]
).[to].[be].contain(ulong[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(ulong
) - expect(
ubyte[]
).[to].[be].contain(float[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(float
) - expect(
ubyte[]
).[to].[be].contain(double[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(double
) - expect(
ubyte[]
).[to].[be].contain(real[]
) - expect(
ubyte[]
).[to].[be].contain(void[]
) - expect(
ubyte[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
short[]
).[to].[be].contain(byte[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(byte
) - expect(
short[]
).[to].[be].contain(ubyte[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(ubyte
) - expect(
short[]
).[to].[be].contain(short[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(short
) - expect(
short[]
).[to].[be].contain(ushort[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(ushort
) - expect(
short[]
).[to].[be].contain(int[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(int
) - expect(
short[]
).[to].[be].contain(uint[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(uint
) - expect(
short[]
).[to].[be].contain(long[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(long
) - expect(
short[]
).[to].[be].contain(ulong[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(ulong
) - expect(
short[]
).[to].[be].contain(float[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(float
) - expect(
short[]
).[to].[be].contain(double[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(double
) - expect(
short[]
).[to].[be].contain(real[]
) - expect(
short[]
).[to].[be].contain(void[]
) - expect(
short[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
ushort[]
).[to].[be].contain(byte[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(byte
) - expect(
ushort[]
).[to].[be].contain(ubyte[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(ubyte
) - expect(
ushort[]
).[to].[be].contain(short[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(short
) - expect(
ushort[]
).[to].[be].contain(ushort[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(ushort
) - expect(
ushort[]
).[to].[be].contain(int[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(int
) - expect(
ushort[]
).[to].[be].contain(uint[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(uint
) - expect(
ushort[]
).[to].[be].contain(long[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(long
) - expect(
ushort[]
).[to].[be].contain(ulong[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(ulong
) - expect(
ushort[]
).[to].[be].contain(float[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(float
) - expect(
ushort[]
).[to].[be].contain(double[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(double
) - expect(
ushort[]
).[to].[be].contain(real[]
) - expect(
ushort[]
).[to].[be].contain(void[]
) - expect(
ushort[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
int[]
).[to].[be].contain(byte[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(byte
) - expect(
int[]
).[to].[be].contain(ubyte[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(ubyte
) - expect(
int[]
).[to].[be].contain(short[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(short
) - expect(
int[]
).[to].[be].contain(ushort[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(ushort
) - expect(
int[]
).[to].[be].contain(int[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(int
) - expect(
int[]
).[to].[be].contain(uint[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(uint
) - expect(
int[]
).[to].[be].contain(long[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(long
) - expect(
int[]
).[to].[be].contain(ulong[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(ulong
) - expect(
int[]
).[to].[be].contain(float[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(float
) - expect(
int[]
).[to].[be].contain(double[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(double
) - expect(
int[]
).[to].[be].contain(real[]
) - expect(
int[]
).[to].[be].contain(void[]
) - expect(
int[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
uint[]
).[to].[be].contain(byte[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(byte
) - expect(
uint[]
).[to].[be].contain(ubyte[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(ubyte
) - expect(
uint[]
).[to].[be].contain(short[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(short
) - expect(
uint[]
).[to].[be].contain(ushort[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(ushort
) - expect(
uint[]
).[to].[be].contain(int[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(int
) - expect(
uint[]
).[to].[be].contain(uint[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(uint
) - expect(
uint[]
).[to].[be].contain(long[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(long
) - expect(
uint[]
).[to].[be].contain(ulong[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(ulong
) - expect(
uint[]
).[to].[be].contain(float[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(float
) - expect(
uint[]
).[to].[be].contain(double[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(double
) - expect(
uint[]
).[to].[be].contain(real[]
) - expect(
uint[]
).[to].[be].contain(void[]
) - expect(
uint[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
long[]
).[to].[be].contain(byte[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(byte
) - expect(
long[]
).[to].[be].contain(ubyte[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(ubyte
) - expect(
long[]
).[to].[be].contain(short[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(short
) - expect(
long[]
).[to].[be].contain(ushort[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(ushort
) - expect(
long[]
).[to].[be].contain(int[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(int
) - expect(
long[]
).[to].[be].contain(uint[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(uint
) - expect(
long[]
).[to].[be].contain(long[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(long
) - expect(
long[]
).[to].[be].contain(ulong[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(ulong
) - expect(
long[]
).[to].[be].contain(float[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(float
) - expect(
long[]
).[to].[be].contain(double[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(double
) - expect(
long[]
).[to].[be].contain(real[]
) - expect(
long[]
).[to].[be].contain(void[]
) - expect(
long[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
ulong[]
).[to].[be].contain(byte[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(byte
) - expect(
ulong[]
).[to].[be].contain(ubyte[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(ubyte
) - expect(
ulong[]
).[to].[be].contain(short[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(short
) - expect(
ulong[]
).[to].[be].contain(ushort[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(ushort
) - expect(
ulong[]
).[to].[be].contain(int[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(int
) - expect(
ulong[]
).[to].[be].contain(uint[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(uint
) - expect(
ulong[]
).[to].[be].contain(long[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(long
) - expect(
ulong[]
).[to].[be].contain(ulong[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(ulong
) - expect(
ulong[]
).[to].[be].contain(float[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(float
) - expect(
ulong[]
).[to].[be].contain(double[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(double
) - expect(
ulong[]
).[to].[be].contain(real[]
) - expect(
ulong[]
).[to].[be].contain(void[]
) - expect(
ulong[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
float[]
).[to].[be].contain(byte[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(byte
) - expect(
float[]
).[to].[be].contain(ubyte[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(ubyte
) - expect(
float[]
).[to].[be].contain(short[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(short
) - expect(
float[]
).[to].[be].contain(ushort[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(ushort
) - expect(
float[]
).[to].[be].contain(int[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(int
) - expect(
float[]
).[to].[be].contain(uint[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(uint
) - expect(
float[]
).[to].[be].contain(long[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(long
) - expect(
float[]
).[to].[be].contain(ulong[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(ulong
) - expect(
float[]
).[to].[be].contain(float[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(float
) - expect(
float[]
).[to].[be].contain(double[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(double
) - expect(
float[]
).[to].[be].contain(real[]
) - expect(
float[]
).[to].[be].contain(void[]
) - expect(
float[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
double[]
).[to].[be].contain(byte[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(byte
) - expect(
double[]
).[to].[be].contain(ubyte[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(ubyte
) - expect(
double[]
).[to].[be].contain(short[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(short
) - expect(
double[]
).[to].[be].contain(ushort[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(ushort
) - expect(
double[]
).[to].[be].contain(int[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(int
) - expect(
double[]
).[to].[be].contain(uint[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(uint
) - expect(
double[]
).[to].[be].contain(long[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(long
) - expect(
double[]
).[to].[be].contain(ulong[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(ulong
) - expect(
double[]
).[to].[be].contain(float[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(float
) - expect(
double[]
).[to].[be].contain(double[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(double
) - expect(
double[]
).[to].[be].contain(real[]
) - expect(
double[]
).[to].[be].contain(void[]
) - expect(
double[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*
) - expect(
real[]
).[to].[be].contain(byte[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(byte
) - expect(
real[]
).[to].[be].contain(ubyte[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(ubyte
) - expect(
real[]
).[to].[be].contain(short[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(short
) - expect(
real[]
).[to].[be].contain(ushort[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(ushort
) - expect(
real[]
).[to].[be].contain(int[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(int
) - expect(
real[]
).[to].[be].contain(uint[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(uint
) - expect(
real[]
).[to].[be].contain(long[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(long
) - expect(
real[]
).[to].[be].contain(ulong[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(ulong
) - expect(
real[]
).[to].[be].contain(float[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(float
) - expect(
real[]
).[to].[be].contain(double[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(double
) - expect(
real[]
).[to].[be].contain(real[]
) - expect(
real[]
).[to].[be].contain(void[]
) - expect(
real[]
).[to].[be].contain(real
) - expect(
*[]
).[to].[be].contain(*[]
) - expect(
string
).[to].[be].contain(string[]
) - expect(
string
).[to].[be].contain(string
) - expect(
string
).[to].[be].contain(wstring[]
) - expect(
string
).[to].[be].contain(wstring
) - expect(
string
).[to].[be].contain(dstring[]
) - expect(
string
).[to].[be].contain(dstring
) - expect(
string
).[to].[be].contain(const(char)[][]
) - expect(
string
).[to].[be].contain(const(char)[]
) - expect(
wstring
).[to].[be].contain(string[]
) - expect(
wstring
).[to].[be].contain(string
) - expect(
wstring
).[to].[be].contain(wstring[]
) - expect(
wstring
).[to].[be].contain(wstring
) - expect(
wstring
).[to].[be].contain(dstring[]
) - expect(
wstring
).[to].[be].contain(dstring
) - expect(
wstring
).[to].[be].contain(const(char)[][]
) - expect(
wstring
).[to].[be].contain(const(char)[]
) - expect(
dstring
).[to].[be].contain(string[]
) - expect(
dstring
).[to].[be].contain(string
) - expect(
dstring
).[to].[be].contain(wstring[]
) - expect(
dstring
).[to].[be].contain(wstring
) - expect(
dstring
).[to].[be].contain(dstring[]
) - expect(
dstring
).[to].[be].contain(dstring
) - expect(
dstring
).[to].[be].contain(const(char)[][]
) - expect(
dstring
).[to].[be].contain(const(char)[]
) - expect(
const(char)[]
).[to].[be].contain(string[]
) - expect(
const(char)[]
).[to].[be].contain(string
) - expect(
const(char)[]
).[to].[be].contain(wstring[]
) - expect(
const(char)[]
).[to].[be].contain(wstring
) - expect(
const(char)[]
).[to].[be].contain(dstring[]
) - expect(
const(char)[]
).[to].[be].contain(dstring
) - expect(
const(char)[]
).[to].[be].contain(const(char)[][]
) - expect(
const(char)[]
).[to].[be].contain(const(char)[]
) - expect(
string
).[to].[be].contain(char
) - expect(
wstring
).[to].[be].contain(char
) - expect(
dstring
).[to].[be].contain(char
) - expect(
const(char)[]
).[to].[be].contain(char
)