diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[kotlin].svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[kotlin].svg deleted file mode 100644 index 1ec8590e47..0000000000 --- a/tests/snapshot_tests/__snapshots__/test_snapshots/test_text_area_language_rendering[kotlin].svg +++ /dev/null @@ -1,461 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TextAreaSnapshot - - - - - - - - - - ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ - 1  // Variables - 2  val name ="John" - 3  var age =30 - 4  var isStudent =true - 5   - 6  // Printing variables - 7  println("Hello, $name! You are $age years old.")                         - 8   - 9  // Conditional statements -10  when {                                                                   -11      age >=18&& isStudent ->println("You are an adult student.")       -12      age >=18->println("You are an adult.")                            -13  else->println("You are a minor.")                                  -14  }                                                                        -15   -16  // Arrays -17  val numbers =arrayOf(12345)                                     -18  println("Numbers: ${numbers.contentToString()}")                         -19   -20  // Lists -21  val fruits =listOf("apple""banana""orange")                         -22  println("Fruits: $fruits")                                               -23   -24  // Loops -25  for (num in numbers) {                                                   -26  println("Number: $num")                                              -27  }                                                                        -28   -29  // Functions -30  fungreet(name: String) {                                                -31  println("Hello, $name!")                                             -32  }                                                                        -33  greet("Alice")                                                           -34   -35  // Lambda functions -36  val square = { num: Int -> num * num }                                   -37  println("Square of 5: ${square(5)}")                                     -38   -39  // Extension functions -40  fun String.reverse(): String {                                           -41  return this.reversed() -42  }                                                                        -43  val reversed ="Hello".reverse()                                         -44  println("Reversed: $reversed")                                           -45   -46  // Data classes -47  dataclass Person(val name: String, val age: Int)                        -48  val person =Person("John"30)                                          -49  println("Person: $person")                                               -50   -51  // Null safety -52  var nullable: String? =null -53  println("Length: ${nullable?.length}")                                   -54   -55  // Elvis operator -56  val length = nullable?.length ?:0 -57  println("Length (Elvis): $length")                                       -58   -59  // Smart casts -60  funprintLength(obj: Any) {                                              -61  if (obj is String) {                                                 -62  println("Length: ${obj.length}")                                 -63      }                                                                    -64  }                                                                        -65  printLength("Hello")                                                     -66   -67  // Object expressions -68  val comparator =object : Comparator<Int> {                              -69  overridefun compare(a: Int, b: Int): Int {                          -70  return a - b -71      }                                                                    -72  }                                                                        -73  val sortedNumbers = numbers.sortedWith(comparator)                       -74  println("Sorted numbers: ${sortedNumbers.contentToString()}")            -75   -76  // Companion objects -77  class MyClass {                                                          -78      companion object {                                                   -79  funcreate(): MyClass {                                          -80  return MyClass() -81          }                                                                -82      }                                                                    -83  }                                                                        -84  val obj = MyClass.create()                                               -85   -86  // Sealed classes -87  sealedclass Result {                                                    -88  dataclass Success(val data: String) : Result()                      -89  dataclass Error(val message: String) : Result()                     -90  }                                                                        -91  val result: Result = Result.Success("Data")                              -92  when (result) {                                                          -93  is Result.Success ->println("Success: ${result.data}")              -94  is Result.Error ->println("Error: ${result.message}")               -95  }                                                                        -96   - -▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ - - -