From c0b8dc56ab76ed991a833c8a9397efc1b2270729 Mon Sep 17 00:00:00 2001 From: Michael Bryzek Date: Mon, 22 Apr 2024 23:32:21 -0700 Subject: [PATCH] Update test resource following bug fix to camel case --- .../test/resources/generator/anorm/cap-name.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/src/test/resources/generator/anorm/cap-name.txt b/lib/src/test/resources/generator/anorm/cap-name.txt index febf990a0..489c66764 100644 --- a/lib/src/test/resources/generator/anorm/cap-name.txt +++ b/lib/src/test/resources/generator/anorm/cap-name.txt @@ -15,16 +15,16 @@ package test.apidoc.apidoctest.v0.anorm.parsers { def parserWithPrefix(prefix: String, sep: String = "_"): RowParser[test.apidoc.apidoctest.v0.models.Name] = parser(prefixOpt = Some(s"$prefix$sep")) def parser( - First: String = "First", - Last: String = "Last", + first: String = "First", + last: String = "Last", prefixOpt: Option[String] = None ): RowParser[test.apidoc.apidoctest.v0.models.Name] = { - SqlParser.str(prefixOpt.getOrElse("") + First).? ~ - SqlParser.str(prefixOpt.getOrElse("") + Last).? map { + SqlParser.str(prefixOpt.getOrElse("") + first).? ~ + SqlParser.str(prefixOpt.getOrElse("") + last).? map { case first ~ last => { test.apidoc.apidoctest.v0.models.Name( - First = first, - Last = last + first = first, + last = last ) } } @@ -32,4 +32,4 @@ package test.apidoc.apidoctest.v0.anorm.parsers { } -} +} \ No newline at end of file