This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 055c6f3b5 Improved: fixes one minor and few trivial Codenarc issues
055c6f3b5 is described below

commit 055c6f3b5b4167e2d490810c9ce192403d287b25
Author: Jacques Le Roux <[email protected]>
AuthorDate: Sun Feb 8 09:22:58 2026 +0100

    Improved: fixes one minor and few trivial Codenarc issues
    
    Though I blindly followed Codenarc advice about replacement by
    (Updated Test Example Name == (example.exampleName))
    I had quite a doubt about the missing quotes. Here is the fix.
    
    Also import org.junit.Test was missing
---
 example/src/main/groovy/org/apache/ofbiz/example/ExampleTests.groovy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/example/src/main/groovy/org/apache/ofbiz/example/ExampleTests.groovy 
b/example/src/main/groovy/org/apache/ofbiz/example/ExampleTests.groovy
index 8bece6f72..661df0837 100644
--- a/example/src/main/groovy/org/apache/ofbiz/example/ExampleTests.groovy
+++ b/example/src/main/groovy/org/apache/ofbiz/example/ExampleTests.groovy
@@ -21,6 +21,7 @@ package org.apache.ofbiz.example
 import org.apache.ofbiz.entity.GenericValue
 import org.apache.ofbiz.service.ServiceUtil
 import org.apache.ofbiz.service.testtools.OFBizTestCase
+import org.junit.Test
 
 class ExampleTests extends OFBizTestCase {
 
@@ -39,7 +40,7 @@ class ExampleTests extends OFBizTestCase {
 
         GenericValue example = from('Example').where('exampleId', 
'TestExampleUpdate').queryOne()
         assert example != null
-        assert (Updated Test Example Name == (example.exampleName))
+        assert ("Updated Test Example Name" == (example.exampleName))
     }
 
     void testDeleteExample() {

Reply via email to