From 3a57833201eaddf1f0bb215a4ad51cfd78e6d48f Mon Sep 17 00:00:00 2001 From: Johannes Coetzee Date: Mon, 13 Jan 2025 16:49:45 +0100 Subject: [PATCH] Bump cpg and fix test expectations --- build.sbt | 2 +- .../src/test/scala/io/joern/php2cpg/querying/MethodTests.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 33915551a853..7b7cefe9e2fe 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ name := "joern" ThisBuild / organization := "io.joern" ThisBuild / scalaVersion := "3.5.2" -val cpgVersion = "1.7.19" +val cpgVersion = "1.7.21" lazy val joerncli = Projects.joerncli lazy val querydb = Projects.querydb diff --git a/joern-cli/frontends/php2cpg/src/test/scala/io/joern/php2cpg/querying/MethodTests.scala b/joern-cli/frontends/php2cpg/src/test/scala/io/joern/php2cpg/querying/MethodTests.scala index d442e8d73ebf..ca9e187a132b 100644 --- a/joern-cli/frontends/php2cpg/src/test/scala/io/joern/php2cpg/querying/MethodTests.scala +++ b/joern-cli/frontends/php2cpg/src/test/scala/io/joern/php2cpg/querying/MethodTests.scala @@ -146,7 +146,7 @@ class MethodTests extends PhpCode2CpgFixture { fooMethod.file.head.content.substring(offsetStart, offsetEnd) shouldBe """function foo() { | // ⦝ - | $x = "??⨌????????????"; + | $x = "🙂⨌🙂𐇐🙂🙂🙂🙂"; |}""".stripMargin } }