I am confused in using this sentence.

"Code in SVN and Test case document is updated accordingly."

I am thinking of using are instead because "Code" here is a set of Source Code files and "Test case document" is a single document file. But are would contradict with "document" which is singular. So which form should I use?

Any help would be appreciated.


1 Answer 1


**I'm assuming code is referring collectively to all the pieces of coding in files SVN and Test case document.

In this sentence:

"Code in SVN and Test case document is updated accordingly."

the code is being updated, which is present in the files SVN and Test case document. Since 'code' is singular, you should use 'is', not 'are'.

We aren't referring to the SVN and TCD while talking about the updating. That is only to do with the code. So we check out the plurality by seeing 'code'.

Even if your sentence were, say:

"The code in all the files has been updated."

Even though 'files' is plural, it is the singular 'code' which is being updated. This is why we use 'has been updated' (which is used for singular) rather than 'have been updated' (which would have been used in case of plural).

Check out this sentence:

"The Java codes in the file are being updated."

Over here, we've used 'are' because the update is happening to the Java codes, which is plural. Even though the word just before 'are' is singular (file).

  • 1
    I would think "code in SVN" and "Test case document" are two separate entities. Code should only refer to source code and not other documents like a test case document. I would write that sentence: "The code in SVN and the test case document are updated accordingly."
    – John
    Sep 19, 2013 at 16:44
  • @quadelirus If that is the case, then my answer is wrong. I'm not that familiar with the meanings of 'Test case document' and 'code in SVN', so it's very likely that I have misinterpreted it. Sep 20, 2013 at 10:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.