Scala Programming Language
  1. Scala Programming Language
  2. SI-7258

Spurious test failure in t6223 because test assumes specific order of reflection values

    Details

      Description

      test/files/run/t6223's check file expects a specific ordering of the reflected values. The ordering is not guaranteed by the runtime/reflection API and can change:

      /home/soc/Entwicklung/scala/test/files/run/t6223.scala [FAILED]
      

      test/files/run/t6223.check expected:

      bar
      bar$mcI$sp
      bar$mIc$sp
      bar$mIcI$sp
      

      ... but got:

      bar$mcI$sp
      bar
      bar$mIc$sp
      bar$mIcI$sp
      

        Activity

        Show
        Simon Ochsenreither added a comment - https://github.com/scala/scala/pull/2261

          People

          • Assignee:
            Simon Ochsenreither
            Reporter:
            Simon Ochsenreither
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development