[K/N][Tests] Migrate test withSpaces.kt
^KT-61259
This commit is contained in:
committed by
Space Team
parent
2bb9b936ac
commit
06a89a0061
@@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int custom_strcmp(const char* str1, const char* str2) {
|
||||
return strcmp(str1, str2);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
import kotlin.test.*
|
||||
import kotlinx.cinterop.*
|
||||
import withSpaces.*
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
customCompare("first", "second")
|
||||
}
|
||||
Reference in New Issue
Block a user