initial commits
parent
4598abae77
commit
620c0c2a0b
|
@ -15,6 +15,14 @@ func TestAppendBytes(t *testing.T) {
|
|||
Slice []byte
|
||||
Expected []byte
|
||||
}{
|
||||
{
|
||||
Bytes: []byte("Hello world! 🙂 Take a look at this: "),
|
||||
Slice: []byte(""),
|
||||
Expected: []byte("Hello world! 🙂 Take a look at this: "),
|
||||
},
|
||||
|
||||
|
||||
|
||||
{
|
||||
Bytes: []byte("Hello world! 🙂 Take a look at this: "),
|
||||
Slice: []byte("This is NOT <b>bold</b>!"),
|
||||
|
|
|
@ -15,6 +15,14 @@ func TestAppendString(t *testing.T) {
|
|||
String string
|
||||
Expected []byte
|
||||
}{
|
||||
{
|
||||
Bytes: []byte("Hello world! 🙂 Take a look at this: "),
|
||||
String: "",
|
||||
Expected: []byte("Hello world! 🙂 Take a look at this: "),
|
||||
},
|
||||
|
||||
|
||||
|
||||
{
|
||||
Bytes: []byte("Hello world! 🙂 Take a look at this: "),
|
||||
String: "This is NOT <b>bold</b>!",
|
||||
|
|
Loading…
Reference in New Issue