You need to sign in to do that
Don't have an account?

Test coverage for line break
Hello all,
Most of my Class has coverage except for the following.
This is part of a Class that parses a Multiselect and puts each value on its own line.
I know that actComments != null but I do not know how to get the following to have coverage.
Any help is appreciated.
P
Most of my Class has coverage except for the following.
This is part of a Class that parses a Multiselect and puts each value on its own line.
I know that actComments != null but I do not know how to get the following to have coverage.
Any help is appreciated.
P
actComments = actComments.removeEnd('\n'); // Removing the last line breaker tc.Comment__c = actComments; comToUpdate.add(tc);
Matt
Can you provide the entire class and test class?
Thanks!
Chirag